SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Importance of data model
Importance of data modelImportance of data model
Importance of data model
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Object oriented databases
Object oriented databasesObject oriented databases
Object oriented databases
 
Rdbms
RdbmsRdbms
Rdbms
 
Data models
Data modelsData models
Data models
 
Object oriented database
Object oriented databaseObject oriented database
Object oriented database
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
 
DbMs
DbMsDbMs
DbMs
 
Database Systems - Introduction (Chapter 1)
Database Systems - Introduction (Chapter 1)Database Systems - Introduction (Chapter 1)
Database Systems - Introduction (Chapter 1)
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
 
database
databasedatabase
database
 
Dbms
DbmsDbms
Dbms
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
Data models
Data modelsData models
Data models
 
Data Models
Data ModelsData Models
Data Models
 
Dbms models
Dbms modelsDbms models
Dbms models
 
RDBMS
RDBMSRDBMS
RDBMS
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 

Similar a DBMS

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
 
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 a 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
 

Más de 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
 
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
 

Más de 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
 

Último

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
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
 
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 RecordAsst.prof M.Gokilavani
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
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 Conduitsrknatarajan
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 

Último (20)

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
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 )
 
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
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
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
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
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
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 

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