SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03
Jotham Gadot
 
7. Relational Database Design in DBMS
7. Relational Database Design in DBMS7. Relational Database Design in DBMS
7. Relational Database Design in DBMS
koolkampus
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 
Database Design
Database DesignDatabase Design
Database Design
learnt
 
Advanced Database Lecture Notes
Advanced Database Lecture NotesAdvanced Database Lecture Notes
Advanced Database Lecture Notes
Jasour Obeidat
 
11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS
koolkampus
 

Was ist angesagt? (20)

Fundamentals of Database system - Databases and Database Users
Fundamentals of Database system - Databases and Database UsersFundamentals of Database system - Databases and Database Users
Fundamentals of Database system - Databases and Database Users
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
 
Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03
 
Advance database systems (part 1)
Advance database systems (part 1)Advance database systems (part 1)
Advance database systems (part 1)
 
D B M S Animate
D B M S AnimateD B M S Animate
D B M S Animate
 
Concurrency Control in Distributed Database.
Concurrency Control in Distributed Database.Concurrency Control in Distributed Database.
Concurrency Control in Distributed Database.
 
Object relational database management system
Object relational database management systemObject relational database management system
Object relational database management system
 
7. Relational Database Design in DBMS
7. Relational Database Design in DBMS7. Relational Database Design in DBMS
7. Relational Database Design in DBMS
 
Database structure
Database structureDatabase structure
Database structure
 
Data base management system
Data base management systemData base management system
Data base management system
 
Database Design
Database DesignDatabase Design
Database Design
 
Introduction of DBMS
Introduction of DBMSIntroduction of DBMS
Introduction of DBMS
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Database Administration
Database AdministrationDatabase Administration
Database Administration
 
Advanced Database Lecture Notes
Advanced Database Lecture NotesAdvanced Database Lecture Notes
Advanced Database Lecture Notes
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
 

Ähnlich wie DBMS

Data Privacy at Scale
Data Privacy at ScaleData Privacy at Scale
Data Privacy at Scale
DataWorks Summit
 

Ähnlich wie 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
 

Mehr von SHIKHA GAUTAM

Mehr von 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
 

Kürzlich hochgeladen

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 

Kürzlich hochgeladen (20)

Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 

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