SlideShare a Scribd company logo
1 of 41
Database Management
System(DBMS)
Lecture 0
Shikha Gautam
Asst. professor,
CSE
|| Shri Hari ||
“Data is the Future”
SHIKHA GAUTAM
Increasingly many companies see
themselves as data driven.
SHIKHA GAUTAM
The world is increasingly
driven by data…
This class teaches the basics of
how to use & manage data.
SHIKHA GAUTAM
More Data
• Storing all data – including machine generated and sol, Social,
community, demographic data in original format – for ever
To More Effect
• Smarter use of data to achieve competitive or human benefit
More Data
• Storing all data – including machine generated and sol, Social,
community, demographic data in original format – for ever
To More Effect
• Smarter use of data (data science) to achieve competitive or human
benefit
What you will learn in this Lecture
1. Motivation for studying DBMS
2. Overview of Subject
3. Administrative structure
4. Course logistics
SHIKHA GAUTAM
Why should you study databases?
• Make more $$$:
• Startups need DB talent right away = low employee #
• Massive industry…
• Intellectual:
• Science: data poor to data rich
• No idea how to handle the data!
• Fundamental ideas to/from all of CS:
• Systems, theory, AI, logic, stats, analysis….
Many great computer systems ideas started in DB.
SHIKHA GAUTAM
Oracle Internships and Careers
Summer Internship Program
http://www.oracle.com/us/corporate/careers/college/internships/064881.html
Oracle’s College Recruiting Site
http://www.oracle.com/us/corporate/careers/college/index.html
Oracle Careers
http://www.oracle.com/us/corporate/careers/index.html
Why DBMS?
• Used in almost all modern settings involving data management:
• Business
• Research
• Administration
SHIKHA GAUTAM
Database Systems: Today
SHIKHA GAUTAM
Other databases you may use
SHIKHA GAUTAM
What this course is
• Discuss fundamentals of data management
• How to design databases, query databases, build applications with them.
• How to debug them when they go wrong!
• How to tune Oracle 11g.
• We’ll cover how database management systems work
SHIKHA GAUTAM
Lectures
• Lecture slides cover essential material
• This is your best reference.
• Try to cover same thing in many ways: Lecture, lecture notes,
homework, exams
• Attendance makes your life easier…
• All lectures are mandatory!
SHIKHA GAUTAM
Acknowledgements
• NPTEL
• Course
• Internet
SHIKHA GAUTAM
Course details and Text Books
• Text Book:-
1. DATABASE SYSTEM CONCEPTS
by Korth
1. Fundamentals of Database Systems
by Navathe
SHIKHA GAUTAM
What is a DBMS?
• A large, integrated collection of data
• Models a real-world enterprise
• Entities (e.g., Students, Courses)
• Relationships (e.g., Alice is enrolled in 145)
A Database Management System (DBMS) is a
piece of software designed to store and
manage databases
SHIKHA GAUTAM
SHIKHA GAUTAM
Simplified database system environment
A Motivating, Running Example
• Consider building a course management system (CMS):
• Students
• Courses
• Professors
• Who takes what
• Who teaches what
Entities
Relationships
SHIKHA GAUTAM
24
Course Objectives
• Upon completion of this course, the student should be able to:
• Understand different DBMS
• Create their own Tables
• Manipulate data stored in it
• Construct ER Diagram
• Conversion of ER diagram to Table
• Able to normalize the table
• Describe the definitions and properties of Transactions and concurrency
control
• Will able to analyze multiple granularity and recovery
SHIKHA GAUTAM
Syllabus
• Introduction to DBMS
• E-R model concepts
• Reduction of E-R diagrams to tables
• Integrity Constraints
• Relational Algebra and Calculus
• SQL
• Functional Dependencies and Normal Forms
• Transaction System and Serializability
• Deadlock Handling
• Concurrency Control and Recovery
• Case Study
SHIKHA GAUTAM
Overview of DBMS as Subject
SHIKHA GAUTAM
Introduction to DBMS Unit1
• Data,Database,characteristics etc.
• Data model, Data Independence
• Three Schema Architecture
SHIKHA GAUTAM
Unit1
SHIKHA GAUTAM
PSIT COE
Unit1
SHIKHA GAUTAM
Contd.
Overall Structure of DBMS
Unit1
SHIKHA GAUTAM
Relational Data model Concepts Unit 2
• E-R Notations & Diagram
• Eg:
• Mapping Cardinality
PSIT-COESHIKHA GAUTAM
Contd. Unit 2
SQL(Structured Query Language)
SHIKHA GAUTAM
Normalization Unit 3
• Need of Normalization
• Normal Forms
SHIKHA GAUTAM
Transaction Control System Unit 4
• State Transition Diagram
• Acid Properties
Transactions
• A key concept is the transaction (TXN): an atomic
sequence of db actions (reads/writes)
Atomicity: An action
either completes
entirely or not at all
36
Acct Balance
a10 20,000
a20 15,000
Acct Balance
a10 17,000
a20 18,000
Transfer $3k from a10 to a20:
1. Debit $3k from a10
2. Credit $3k to a20
• Crash before 1,
• After 1 but before 2,
• After 2.
Written naively, in
which states is
atomicity preserved?
DB Always
preserves
atomicity!
Unit 4
SHIKHA GAUTAM
Concurrency Control & Locking Unit 5
• Concurrency Control
• Locking Techniques
PSIT-COE
A Well-Designed DBMS makes many people
happy!
• End users and DBMS vendors
• Reduces cost and makes money
• DB application programmers
• Can handle more users, faster, for cheaper, and with better
reliability / security guarantees!
• Database administrators (DBA)
• Easier time of designing logical/physical schema, handling
security/authorization, tuning, crash recovery, and more…
Must still understand
DB internals
SHIKHA GAUTAM
What is expected from you
• Attend lectures
• If you don’t, it’s at your own peril
• Be active and think critically
• Do programming and homework projects
• Start early and be honest
• Study for tests and exams
SHIKHA GAUTAM
Summary of DBMS
• DBMS are used to maintain, query, and manage large datasets.
• Provide concurrency, recovery from crashes, quick application development,
integrity, and security
• Key abstractions give data independence
• DBMS R&D is one of the broadest, most exciting fields in CS. Fact!
SHIKHA GAUTAM
SHIKHA GAUTAM

More Related Content

What's hot (20)

Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Codd's rules
Codd's rulesCodd's rules
Codd's rules
 
Dbms 4NF & 5NF
Dbms 4NF & 5NFDbms 4NF & 5NF
Dbms 4NF & 5NF
 
Relational algebra ppt
Relational algebra pptRelational algebra ppt
Relational algebra ppt
 
Normalization in databases
Normalization in databasesNormalization in databases
Normalization in databases
 
Rdbms
RdbmsRdbms
Rdbms
 
Data Models
Data ModelsData Models
Data Models
 
The relational database model
The relational database modelThe relational database model
The relational database model
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
 
DBMS Unit - 6 - Transaction Management
DBMS Unit - 6 - Transaction ManagementDBMS Unit - 6 - Transaction Management
DBMS Unit - 6 - Transaction Management
 
Database language
Database languageDatabase language
Database language
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Dbms normalization
Dbms normalizationDbms normalization
Dbms normalization
 
Joins in SQL
Joins in SQLJoins in SQL
Joins in SQL
 
Relational database
Relational database Relational database
Relational database
 
Data models
Data modelsData models
Data models
 
Dbms ppt
Dbms pptDbms ppt
Dbms ppt
 

Similar to DBMS

Data Privacy at Scale
Data Privacy at ScaleData Privacy at Scale
Data Privacy at ScaleDataWorks Summit
 
Lecture_1_Intro.pdf
Lecture_1_Intro.pdfLecture_1_Intro.pdf
Lecture_1_Intro.pdfpaijitk
 
Enterprise Data World 2018 - Building Cloud Self-Service Analytical Solution
Enterprise Data World 2018 - Building Cloud Self-Service Analytical SolutionEnterprise Data World 2018 - Building Cloud Self-Service Analytical Solution
Enterprise Data World 2018 - Building Cloud Self-Service Analytical SolutionDmitry Anoshin
 
The Data Lake and Getting Buisnesses the Big Data Insights They Need
The Data Lake and Getting Buisnesses the Big Data Insights They NeedThe Data Lake and Getting Buisnesses the Big Data Insights They Need
The Data Lake and Getting Buisnesses the Big Data Insights They NeedDunn Solutions Group
 
Data Structure and Algorithms
Data Structure and AlgorithmsData Structure and Algorithms
Data Structure and Algorithmsiqbalphy1
 
AnalytixLabs - Data Science 360 (Nasscom)-1648178720283 (1).pdf
AnalytixLabs - Data Science 360 (Nasscom)-1648178720283 (1).pdfAnalytixLabs - Data Science 360 (Nasscom)-1648178720283 (1).pdf
AnalytixLabs - Data Science 360 (Nasscom)-1648178720283 (1).pdfNamanGulati17
 
Introduction to data mining and data warehousing
Introduction to data mining and data warehousingIntroduction to data mining and data warehousing
Introduction to data mining and data warehousingEr. Nawaraj Bhandari
 
Data Governance: Why, What & How
Data Governance: Why, What & HowData Governance: Why, What & How
Data Governance: Why, What & HowSenturus
 
Levelling up your data infrastructure
Levelling up your data infrastructureLevelling up your data infrastructure
Levelling up your data infrastructureSimon Belak
 
Database :Introduction to Database System
Database :Introduction to Database SystemDatabase :Introduction to Database System
Database :Introduction to Database SystemZakriyaMalik2
 
Building Data Warehouse in SQL Server
Building Data Warehouse in SQL ServerBuilding Data Warehouse in SQL Server
Building Data Warehouse in SQL ServerAntonios Chatzipavlis
 
ASMUG February 2015 Knowledge Event
ASMUG February 2015 Knowledge EventASMUG February 2015 Knowledge Event
ASMUG February 2015 Knowledge Eventjmustac
 
Intro to Big Data
Intro to Big DataIntro to Big Data
Intro to Big DataZohar Elkayam
 
Datascience methodology
Datascience methodologyDatascience methodology
Datascience methodologyArunakumariAkula1
 
Big data and machine learning / Gil Chamiel
Big data and machine learning / Gil Chamiel   Big data and machine learning / Gil Chamiel
Big data and machine learning / Gil Chamiel geektimecoil
 
How DITA Got Her Groove Back: Going Mapless with Don Day
How DITA Got Her Groove Back: Going Mapless with Don DayHow DITA Got Her Groove Back: Going Mapless with Don Day
How DITA Got Her Groove Back: Going Mapless with Don DayInformation Development World
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and BasicsSHIKHA GAUTAM
 
Store, Extract, Transform, Load, Visualize. Untagged Conference
Store, Extract, Transform, Load, Visualize. Untagged ConferenceStore, Extract, Transform, Load, Visualize. Untagged Conference
Store, Extract, Transform, Load, Visualize. Untagged ConferenceAni Lopez
 
Algorithms and Data Structures
Algorithms and Data StructuresAlgorithms and Data Structures
Algorithms and Data Structuressonykhan3
 

Similar to DBMS (20)

Data Privacy at Scale
Data Privacy at ScaleData Privacy at Scale
Data Privacy at Scale
 
Lecture_1_Intro.pdf
Lecture_1_Intro.pdfLecture_1_Intro.pdf
Lecture_1_Intro.pdf
 
Enterprise Data World 2018 - Building Cloud Self-Service Analytical Solution
Enterprise Data World 2018 - Building Cloud Self-Service Analytical SolutionEnterprise Data World 2018 - Building Cloud Self-Service Analytical Solution
Enterprise Data World 2018 - Building Cloud Self-Service Analytical Solution
 
The Data Lake and Getting Buisnesses the Big Data Insights They Need
The Data Lake and Getting Buisnesses the Big Data Insights They NeedThe Data Lake and Getting Buisnesses the Big Data Insights They Need
The Data Lake and Getting Buisnesses the Big Data Insights They Need
 
Data Structure and Algorithms
Data Structure and AlgorithmsData Structure and Algorithms
Data Structure and Algorithms
 
AnalytixLabs - Data Science 360 (Nasscom)-1648178720283 (1).pdf
AnalytixLabs - Data Science 360 (Nasscom)-1648178720283 (1).pdfAnalytixLabs - Data Science 360 (Nasscom)-1648178720283 (1).pdf
AnalytixLabs - Data Science 360 (Nasscom)-1648178720283 (1).pdf
 
Introduction to data mining and data warehousing
Introduction to data mining and data warehousingIntroduction to data mining and data warehousing
Introduction to data mining and data warehousing
 
Data Governance: Why, What & How
Data Governance: Why, What & HowData Governance: Why, What & How
Data Governance: Why, What & How
 
Development Lifecycle
Development LifecycleDevelopment Lifecycle
Development Lifecycle
 
Levelling up your data infrastructure
Levelling up your data infrastructureLevelling up your data infrastructure
Levelling up your data infrastructure
 
Database :Introduction to Database System
Database :Introduction to Database SystemDatabase :Introduction to Database System
Database :Introduction to Database System
 
Building Data Warehouse in SQL Server
Building Data Warehouse in SQL ServerBuilding Data Warehouse in SQL Server
Building Data Warehouse in SQL Server
 
ASMUG February 2015 Knowledge Event
ASMUG February 2015 Knowledge EventASMUG February 2015 Knowledge Event
ASMUG February 2015 Knowledge Event
 
Intro to Big Data
Intro to Big DataIntro to Big Data
Intro to Big Data
 
Datascience methodology
Datascience methodologyDatascience methodology
Datascience methodology
 
Big data and machine learning / Gil Chamiel
Big data and machine learning / Gil Chamiel   Big data and machine learning / Gil Chamiel
Big data and machine learning / Gil Chamiel
 
How DITA Got Her Groove Back: Going Mapless with Don Day
How DITA Got Her Groove Back: Going Mapless with Don DayHow DITA Got Her Groove Back: Going Mapless with Don Day
How DITA Got Her Groove Back: Going Mapless with Don Day
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
Store, Extract, Transform, Load, Visualize. Untagged Conference
Store, Extract, Transform, Load, Visualize. Untagged ConferenceStore, Extract, Transform, Load, Visualize. Untagged Conference
Store, Extract, Transform, Load, Visualize. Untagged Conference
 
Algorithms and Data Structures
Algorithms and Data StructuresAlgorithms and Data Structures
Algorithms and Data Structures
 

More from SHIKHA GAUTAM

Agreement Protocols, distributed File Systems, Distributed Shared Memory
Agreement Protocols, distributed File Systems, Distributed Shared MemoryAgreement Protocols, distributed File Systems, Distributed Shared Memory
Agreement Protocols, distributed File Systems, Distributed Shared MemorySHIKHA GAUTAM
 
Distributed Mutual Exclusion and Distributed Deadlock Detection
Distributed Mutual Exclusion and Distributed Deadlock DetectionDistributed Mutual Exclusion and Distributed Deadlock Detection
Distributed Mutual Exclusion and Distributed Deadlock DetectionSHIKHA GAUTAM
 
Distributed Systems Introduction and Importance
Distributed Systems Introduction and Importance Distributed Systems Introduction and Importance
Distributed Systems Introduction and Importance SHIKHA GAUTAM
 
Unit ii_KCS201
Unit ii_KCS201Unit ii_KCS201
Unit ii_KCS201SHIKHA GAUTAM
 
Type conversion in c
Type conversion in cType conversion in c
Type conversion in cSHIKHA GAUTAM
 
3. basic organization of a computer
3. basic organization of a computer3. basic organization of a computer
3. basic organization of a computerSHIKHA GAUTAM
 
Generations of computer
Generations of computerGenerations of computer
Generations of computerSHIKHA GAUTAM
 
Warehouse Planning and Implementation
Warehouse Planning and ImplementationWarehouse Planning and Implementation
Warehouse Planning and ImplementationSHIKHA GAUTAM
 
Data Warehousing
Data WarehousingData Warehousing
Data WarehousingSHIKHA GAUTAM
 

More from SHIKHA GAUTAM (16)

Agreement Protocols, distributed File Systems, Distributed Shared Memory
Agreement Protocols, distributed File Systems, Distributed Shared MemoryAgreement Protocols, distributed File Systems, Distributed Shared Memory
Agreement Protocols, distributed File Systems, Distributed Shared Memory
 
Distributed Mutual Exclusion and Distributed Deadlock Detection
Distributed Mutual Exclusion and Distributed Deadlock DetectionDistributed Mutual Exclusion and Distributed Deadlock Detection
Distributed Mutual Exclusion and Distributed Deadlock Detection
 
Distributed Systems Introduction and Importance
Distributed Systems Introduction and Importance Distributed Systems Introduction and Importance
Distributed Systems Introduction and Importance
 
Unit 4
Unit 4Unit 4
Unit 4
 
Unit v
Unit vUnit v
Unit v
 
Unit iii
Unit iiiUnit iii
Unit iii
 
Unit ii_KCS201
Unit ii_KCS201Unit ii_KCS201
Unit ii_KCS201
 
Type conversion in c
Type conversion in cType conversion in c
Type conversion in c
 
C intro
C introC intro
C intro
 
4. algorithm
4. algorithm4. algorithm
4. algorithm
 
3. basic organization of a computer
3. basic organization of a computer3. basic organization of a computer
3. basic organization of a computer
 
Generations of computer
Generations of computerGenerations of computer
Generations of computer
 
c_programming
c_programmingc_programming
c_programming
 
Data Mining
Data MiningData Mining
Data Mining
 
Warehouse Planning and Implementation
Warehouse Planning and ImplementationWarehouse Planning and Implementation
Warehouse Planning and Implementation
 
Data Warehousing
Data WarehousingData Warehousing
Data Warehousing
 

Recently uploaded

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 

Recently uploaded (20)

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 

DBMS

  • 1. Database Management System(DBMS) Lecture 0 Shikha Gautam Asst. professor, CSE || Shri Hari ||
  • 2. “Data is the Future” SHIKHA GAUTAM
  • 3.
  • 4. Increasingly many companies see themselves as data driven. SHIKHA GAUTAM
  • 5. The world is increasingly driven by data… This class teaches the basics of how to use & manage data. SHIKHA GAUTAM
  • 6. More Data • Storing all data – including machine generated and sol, Social, community, demographic data in original format – for ever To More Effect • Smarter use of data to achieve competitive or human benefit
  • 7. More Data • Storing all data – including machine generated and sol, Social, community, demographic data in original format – for ever To More Effect • Smarter use of data (data science) to achieve competitive or human benefit
  • 8. What you will learn in this Lecture 1. Motivation for studying DBMS 2. Overview of Subject 3. Administrative structure 4. Course logistics SHIKHA GAUTAM
  • 9. Why should you study databases? • Make more $$$: • Startups need DB talent right away = low employee # • Massive industry… • Intellectual: • Science: data poor to data rich • No idea how to handle the data! • Fundamental ideas to/from all of CS: • Systems, theory, AI, logic, stats, analysis…. Many great computer systems ideas started in DB. SHIKHA GAUTAM
  • 10.
  • 11. Oracle Internships and Careers Summer Internship Program http://www.oracle.com/us/corporate/careers/college/internships/064881.html Oracle’s College Recruiting Site http://www.oracle.com/us/corporate/careers/college/index.html Oracle Careers http://www.oracle.com/us/corporate/careers/index.html
  • 12. Why DBMS? • Used in almost all modern settings involving data management: • Business • Research • Administration SHIKHA GAUTAM
  • 14. Other databases you may use SHIKHA GAUTAM
  • 15.
  • 16. What this course is • Discuss fundamentals of data management • How to design databases, query databases, build applications with them. • How to debug them when they go wrong! • How to tune Oracle 11g. • We’ll cover how database management systems work SHIKHA GAUTAM
  • 17. Lectures • Lecture slides cover essential material • This is your best reference. • Try to cover same thing in many ways: Lecture, lecture notes, homework, exams • Attendance makes your life easier… • All lectures are mandatory! SHIKHA GAUTAM
  • 19. Course details and Text Books • Text Book:- 1. DATABASE SYSTEM CONCEPTS by Korth 1. Fundamentals of Database Systems by Navathe SHIKHA GAUTAM
  • 20. What is a DBMS? • A large, integrated collection of data • Models a real-world enterprise • Entities (e.g., Students, Courses) • Relationships (e.g., Alice is enrolled in 145) A Database Management System (DBMS) is a piece of software designed to store and manage databases SHIKHA GAUTAM
  • 23. A Motivating, Running Example • Consider building a course management system (CMS): • Students • Courses • Professors • Who takes what • Who teaches what Entities Relationships SHIKHA GAUTAM
  • 24. 24
  • 25. Course Objectives • Upon completion of this course, the student should be able to: • Understand different DBMS • Create their own Tables • Manipulate data stored in it • Construct ER Diagram • Conversion of ER diagram to Table • Able to normalize the table • Describe the definitions and properties of Transactions and concurrency control • Will able to analyze multiple granularity and recovery SHIKHA GAUTAM
  • 26. Syllabus • Introduction to DBMS • E-R model concepts • Reduction of E-R diagrams to tables • Integrity Constraints • Relational Algebra and Calculus • SQL • Functional Dependencies and Normal Forms • Transaction System and Serializability • Deadlock Handling • Concurrency Control and Recovery • Case Study SHIKHA GAUTAM
  • 27. Overview of DBMS as Subject SHIKHA GAUTAM
  • 28. Introduction to DBMS Unit1 • Data,Database,characteristics etc. • Data model, Data Independence • Three Schema Architecture SHIKHA GAUTAM
  • 31. Contd. Overall Structure of DBMS Unit1 SHIKHA GAUTAM
  • 32. Relational Data model Concepts Unit 2 • E-R Notations & Diagram • Eg: • Mapping Cardinality PSIT-COESHIKHA GAUTAM
  • 33. Contd. Unit 2 SQL(Structured Query Language) SHIKHA GAUTAM
  • 34. Normalization Unit 3 • Need of Normalization • Normal Forms SHIKHA GAUTAM
  • 35. Transaction Control System Unit 4 • State Transition Diagram • Acid Properties
  • 36. Transactions • A key concept is the transaction (TXN): an atomic sequence of db actions (reads/writes) Atomicity: An action either completes entirely or not at all 36 Acct Balance a10 20,000 a20 15,000 Acct Balance a10 17,000 a20 18,000 Transfer $3k from a10 to a20: 1. Debit $3k from a10 2. Credit $3k to a20 • Crash before 1, • After 1 but before 2, • After 2. Written naively, in which states is atomicity preserved? DB Always preserves atomicity! Unit 4 SHIKHA GAUTAM
  • 37. Concurrency Control & Locking Unit 5 • Concurrency Control • Locking Techniques PSIT-COE
  • 38. A Well-Designed DBMS makes many people happy! • End users and DBMS vendors • Reduces cost and makes money • DB application programmers • Can handle more users, faster, for cheaper, and with better reliability / security guarantees! • Database administrators (DBA) • Easier time of designing logical/physical schema, handling security/authorization, tuning, crash recovery, and more… Must still understand DB internals SHIKHA GAUTAM
  • 39. What is expected from you • Attend lectures • If you don’t, it’s at your own peril • Be active and think critically • Do programming and homework projects • Start early and be honest • Study for tests and exams SHIKHA GAUTAM
  • 40. Summary of DBMS • DBMS are used to maintain, query, and manage large datasets. • Provide concurrency, recovery from crashes, quick application development, integrity, and security • Key abstractions give data independence • DBMS R&D is one of the broadest, most exciting fields in CS. Fact! SHIKHA GAUTAM