際際滷

際際滷Share a Scribd company logo
Database Management
Systems
Course Objectives
 To understand purpose of database
management system
 Apply concepts like database design and
database languages in managing data
 Importance of normalization in dbms and SQL
in implementation of database access
 Knowledge of transaction control , recovery
strategies , storage and indexing etc
Course Outcomes
Text Book
1.Database Management Systems,
Raghurama Krishnan, Johannes Gehrke (2007),
3rd Edition,
Tata McGraw-Hill, New Delhi, India
2.Database System Concepts
Abraham Silberschatz, Henry F. Korth, S. Sudarshan (2010),
6th Edition,
McGraw-Hill, New Delhi, India.
introduction-to-dbms-unit-1.ppt
Roles
 Data Engineer
 Data Scientist etc
History of database systems
 Integrated Data Store, First general purpose DBMS by charles bachman at General
Electric.[Network Model]
 IBMs Information Management System(IMS)[hierachial data model]
 SABRE system for making airline reservations By American airlines and IBM
 In 1970,at IBMs San Jose Research laboratory proposed relational data model
 In 1980s, SQL for relational databases by IBM
 Database transaction management james gray 1999
 IBMs DB2, Oracle 8, Informix UDS
 ERP and MRP
 DBMS with internet
 Multimedia databases, streaming data, digital libraries ,NASAs earth observation
system project
 Decision making and mining data repositories
Introduction to database management
systems
 Data: Data represents known facts or raw information in unorganized form
(such as alphabets or numbers or symbols ) .
 Database: Database is a organized collection of data describing the
activities of one or more related organizations.
 Database management system(DBMS) is a software designed to assist in
storing, maintaining and utilizing large collections of data.
or
A database-management system (DBMS) is a computer-software
application which interacts with end-users, other applications, and the
database itself to access,update,manage and analyze data with the help of
set of application programs.
Advantages of Database management
systems
 Data Independence
 Efficient data access
 Data integrity and security
 Data administration
 Concurrent access and crash recovery
 Reduced application development time
Database systems applications
Database systems Vs file systems
 File storage refers to a collection of operating
system files.
 DBMS features to manage the data in a robust
and efficient manner.
Advantages of dbms over file system
 No redundant data  Redundancy removed by
data normalization
 Data Consistency and Integrity  data
normalization takes care of it too
 Secure  Each user has a different set of access
 Privacy  Limited access
 Easy access to data
 Easy recovery
 Flexible
View of data
 Abstraction
 Data Abstraction
 Instance and schema
 Abstraction :Hiding unnecessary details from the user and providing
abstract view of data which is required to users.
 Data Abstraction: Database systems are made-up of complex data
structures. To ease the user interaction with database, the developers
hide internal irrelevant details from users. This process of hiding irrelevant
details from user is called data abstraction.
Schema
 Design of a database is called schema.
 3 types:
 Physical schema
 Logical schema
 View schema
Data models
 Data models determines the logical structure
of a database
 A Data Model is a logical structure of
Database. It describes the design of database
to reflect entities, attributes, relationship
among data, constrains etc.
Data models
 Relational data model
 Entity  relationship model
 Hierarchical data model
 Network model
 Object oriented model
 Object relational model
 Semi structured data model
 Flat data model
Hierarchical data model
 A hierarchical database model is a data model
in which the data is organized into a tree-like
structure. The data is stored as records which
are connected to one another through links.
 A record is a collection of fields, with each
field containing only one value.
Example for hierarchical model
Example of hierarchical model
Hierarchical model
Network model
 In the network model, entities are organized
in a graph, in which some entities can be
accessed through several paths.
Network data model example
Example for network model
Object oriented data model
 This data model is another method of
representing real world objects.
 It considers each object in the world as
objects and isolates it from each other.
 It groups its related functionalities together
and allows inheriting its functionality to other
related sub-groups.
Object oriented model
Object relational data model
 An object-relational database (ORD), or object-relational database
management system (ORDBMS), is a database management system
(DBMS) similar to a relational database, but with an object-oriented
database model: objects, classes and inheritance are directly supported in
database schemas and in the query language
Semi structured data model:
The semi-structured data model is designed as an evolution of the relational
data model that allows the representation of data with a flexible structure.
Semi-structured data model is model where schema is part of data
introduction-to-dbms-unit-1.ppt
introduction-to-dbms-unit-1.ppt
introduction-to-dbms-unit-1.ppt
 Select
 Unique
 Distinct
 Count
 As
 In
 Sum
 IS NULL
 IS NOT NULL
 ORDER BY
 AND, OR
Database users and administration
 Database users
1. Application Programmers
2. Sophisticated users
3. Specialized users
4. Stand-alone users
5. Native Users
Database administrators
 Responsibilities of DBA:
 Installing and upgrading DBMS servers
 Design and implementation of databases
 Schema definition , storage structure, access method
definition
 Performance Tuning
 Migrate database servers
 Backup and recovery
 Security
 Documentation etc
Types of database administrators
 Administrative DBA
 Development DBA
 Database Architect
 Data warehouse DBA
 Application DBA
 OLAP DBA
Transaction management
 Transaction
 Partial transactions
 Concurrent execution of transactions
 Locking protocol
 Locks
 Shared locks
 Exclusive locks
 Incomplete transactions
 System crashes
 Log
 Write Ahead Log (WAL)
 Checkpoint
 Periodic checkpoints
Introduction to database design
Database design process steps
 Requirement Analysis
 Conceptual database design
 Logical database design
 Schema refinement
 Physical database design
 Application and security design
E -R diagrams
 The E-R data model allows us to describe the
data involved in a real-world enterprise in
terms of objects and their relationships and is
widely used to develop an initial database
design.
entities
 An entity is an object in the real world that is
distinguishable from other objects.
 An Entity can be any object, place, person or
class.
 an entity is represented using rectangles.
Employee Department
Works
for
Weak entity
Weak entity is an entity that depends on
another entity. Weak entity doesn't have key
attribute of their own. Double rectangle
represents weak entity.
attributes
 An Attribute describes a property or
characteristic of an entity. For example, Name,
Age, Address etc can be attributes of a
Student. An attribute is represented using
eclipse
Types of attributes
 Key attribute
 Composite attributes
 Derived attributes
relationships
 A Relationship describes relations between
entities. Relationship is represented using
diamonds
 Relationship is an association among 2 or more
entities
 There are three types of relationship that exist
between Entities.
 Binary Relationship
 Recursive Relationship
 Ternary Relationship
relationship sets
 Collection of set of similar relationships is
called a relationship set.
additional features of the E
-R model
 Key constraints
 Key constraints for ternary relationships
 Participation constraints(partial and complete)
 Class hierarchies
 Aggregation
conceptual design with the
E-R model
 Entity versus attribute
 Entity versus relationship
 Binary versus ternary relationships
 Aggregation versus ternary relationships
conceptual design for large enterprises
 A college contains many departments
 Each department can offer any number of courses
 Many instructors can work in a department
 An instructor can work only in one department
 For each department there is a Head
 An instructor can be head of only one department
 Each instructor can take any number of courses
 A course can be taken by only one instructor
 A student can enroll for any number of courses
 Each course can have any number of students
 Step 1 : Identify the Entities
 Stem 2 : Identify the relationships
 Step 3: Identify the key attributes
 Step 4: Identify other relevant attributes
 Step 5: Draw complete ER diagram
 Step 1 : Identify the Entities
What are the entities here?
From the statements given, the entities are
 Department
 Course
 Instructor
 Student
Stem 2 : Identify the relationships
 One department offers many courses. But one particular course can
be offered by only one department. hence the cardinality between
department and course is One to Many (1:N)
 One department has multiple instructors . But instructor belongs to
only one department. Hence the cardinality between department
and instructor is One to Many (1:N)
 One department has only one head and one head can be the head
of only one department. Hence the cardinality is one to one. (1:1)
 One course can be enrolled by many students and one student can
enroll for many courses. Hence the cardinality between course and
student is Many to Many (M:N)
 One course is taught by only one instructor. But one instructor
teaches many courses. Hence the cardinality between course and
instructor is Many to One (N :1)
 Step 3: Identify the key attributes
 "Departmen_Name" can identify a department
uniquely. Hence Department_Name is the key
attribute for the Entity "Department".
 Course_ID is the key attribute for "Course" Entity.
 Student_ID is the key attribute for "Student"
Entity.
 Instructor_ID is the key attribute for "Instructor"
Entity.
 Step 4: Identify other relevant attributes
 For the department entity, other attributes
are location
 For course entity, other attributes are
course_name,duration
 For instructor entity, other attributes are
first_name, last_name, phone
 For student entity, first_name, last_name,
phone
introduction-to-dbms-unit-1.ppt
introduction-to-dbms-unit-1.ppt
 A typical example could be entities Customer,
Order, and Product.
 An instance of the Customer entity is
identified by a unique customer number,
 an instance of the Order entity is identified by
a unique order number, and
 an instance of the Product entity is identified
by a unique product number.

More Related Content

Similar to introduction-to-dbms-unit-1.ppt (20)

Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera
Module 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptx
SoniaDevi15
data base management sysytem a new apprach .pptx
data base management sysytem a new apprach .pptxdata base management sysytem a new apprach .pptx
data base management sysytem a new apprach .pptx
urvashipundir04
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
AshmitKashyap1
DATABASE MANAGEMENT SYSTEMS CS 3492.pptx
DATABASE MANAGEMENT SYSTEMS CS 3492.pptxDATABASE MANAGEMENT SYSTEMS CS 3492.pptx
DATABASE MANAGEMENT SYSTEMS CS 3492.pptx
venigkrish89
DATA MODELS.pptx
DATA MODELS.pptxDATA MODELS.pptx
DATA MODELS.pptx
Nithyasri Arumugam
Unit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxUnit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptx
MaryJoseph79
This discussion about the dbms introduction
This discussion about the dbms introductionThis discussion about the dbms introduction
This discussion about the dbms introduction
rishabsharma1509
RDBMS stands for Relational Database Management System
RDBMS stands for Relational Database Management SystemRDBMS stands for Relational Database Management System
RDBMS stands for Relational Database Management System
AnilNaik42
Database.ppt
Database.pptDatabase.ppt
Database.ppt
FaimHasan
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
Nirmalavenkatachalam
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptx
Riannel Tecson
Dbms unit 1
Dbms unit 1Dbms unit 1
Dbms unit 1
SaiGupta18
Fundamentals of DBMS
Fundamentals of DBMSFundamentals of DBMS
Fundamentals of DBMS
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
Design approach
Design approachDesign approach
Design approach
Raaz Karkee
lecture5 (1) (2).pptx
lecture5 (1) (2).pptxlecture5 (1) (2).pptx
lecture5 (1) (2).pptx
RabiullahNazari
Database system
Database system Database system
Database system
Hitesh Mohapatra
Database Management system intro.pptx
Database  Management  system  intro.pptxDatabase  Management  system  intro.pptx
Database Management system intro.pptx
sivamathi12
Database management system
Database management systemDatabase management system
Database management system
rishi ram khanal
IET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptx
IET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptxIET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptx
IET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptx
chinmaygulhane747
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera
Module 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptx
SoniaDevi15
data base management sysytem a new apprach .pptx
data base management sysytem a new apprach .pptxdata base management sysytem a new apprach .pptx
data base management sysytem a new apprach .pptx
urvashipundir04
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
AshmitKashyap1
DATABASE MANAGEMENT SYSTEMS CS 3492.pptx
DATABASE MANAGEMENT SYSTEMS CS 3492.pptxDATABASE MANAGEMENT SYSTEMS CS 3492.pptx
DATABASE MANAGEMENT SYSTEMS CS 3492.pptx
venigkrish89
Unit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxUnit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptx
MaryJoseph79
This discussion about the dbms introduction
This discussion about the dbms introductionThis discussion about the dbms introduction
This discussion about the dbms introduction
rishabsharma1509
RDBMS stands for Relational Database Management System
RDBMS stands for Relational Database Management SystemRDBMS stands for Relational Database Management System
RDBMS stands for Relational Database Management System
AnilNaik42
Database.ppt
Database.pptDatabase.ppt
Database.ppt
FaimHasan
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
Nirmalavenkatachalam
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptx
Riannel Tecson
Dbms unit 1
Dbms unit 1Dbms unit 1
Dbms unit 1
SaiGupta18
Design approach
Design approachDesign approach
Design approach
Raaz Karkee
lecture5 (1) (2).pptx
lecture5 (1) (2).pptxlecture5 (1) (2).pptx
lecture5 (1) (2).pptx
RabiullahNazari
Database Management system intro.pptx
Database  Management  system  intro.pptxDatabase  Management  system  intro.pptx
Database Management system intro.pptx
sivamathi12
Database management system
Database management systemDatabase management system
Database management system
rishi ram khanal
IET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptx
IET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptxIET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptx
IET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptx
chinmaygulhane747

Recently uploaded (20)

YSPH VMOC Special Report - Measles Outbreak Southwest US 4-6-2025 ver 5.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-6-2025 ver 5.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 4-6-2025 ver 5.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-6-2025 ver 5.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
MUSIC QUIZ | THE QUIZ CLUB OF PSGCAS | 12 MARCH 2025
MUSIC QUIZ | THE QUIZ CLUB OF PSGCAS | 12 MARCH 2025MUSIC QUIZ | THE QUIZ CLUB OF PSGCAS | 12 MARCH 2025
MUSIC QUIZ | THE QUIZ CLUB OF PSGCAS | 12 MARCH 2025
Quiz Club of PSG College of Arts & Science
Synthesis for VIth SEM 21-2-25.pptx by Mrs. Manjushri P. Dabhade
Synthesis for VIth SEM 21-2-25.pptx by Mrs. Manjushri P. DabhadeSynthesis for VIth SEM 21-2-25.pptx by Mrs. Manjushri P. Dabhade
Synthesis for VIth SEM 21-2-25.pptx by Mrs. Manjushri P. Dabhade
Dabhade madam Dabhade
10.socialorganisationandsocialsystem .pptx
10.socialorganisationandsocialsystem .pptx10.socialorganisationandsocialsystem .pptx
10.socialorganisationandsocialsystem .pptx
Vivek Bhattji
TI LI畛U CHUYN SU L畛P 12 THEO CH働NG TRNH M畛I DNG CHO C畉 3 B畛 SCH N THI...
TI LI畛U CHUYN SU L畛P 12 THEO CH働NG TRNH M畛I DNG CHO C畉 3 B畛 SCH N THI...TI LI畛U CHUYN SU L畛P 12 THEO CH働NG TRNH M畛I DNG CHO C畉 3 B畛 SCH N THI...
TI LI畛U CHUYN SU L畛P 12 THEO CH働NG TRNH M畛I DNG CHO C畉 3 B畛 SCH N THI...
Nguyen Thanh Tu Collection
The Effectiveness of Manual Therapies on the Thoracic.pptx
The Effectiveness of Manual Therapies on the Thoracic.pptxThe Effectiveness of Manual Therapies on the Thoracic.pptx
The Effectiveness of Manual Therapies on the Thoracic.pptx
SamarHosni3
Strategic Corporate Social Responsibility: Sustainable Value Creation Fourth
Strategic Corporate Social Responsibility: Sustainable Value Creation FourthStrategic Corporate Social Responsibility: Sustainable Value Creation Fourth
Strategic Corporate Social Responsibility: Sustainable Value Creation Fourth
keileyrazawi
Combinatorial_Chemistry.pptx by Mrs. Manjushri P. Dabhade
Combinatorial_Chemistry.pptx by Mrs. Manjushri P. DabhadeCombinatorial_Chemistry.pptx by Mrs. Manjushri P. Dabhade
Combinatorial_Chemistry.pptx by Mrs. Manjushri P. Dabhade
Dabhade madam Dabhade
Test Bank Pharmacology 3rd Edition Brenner Stevens
Test Bank Pharmacology 3rd Edition Brenner  StevensTest Bank Pharmacology 3rd Edition Brenner  Stevens
Test Bank Pharmacology 3rd Edition Brenner Stevens
evakimworwa38
BUSINESS QUIZ | THE QUIZ CLUB OF PSGCAS | 17TH MARCH 2025 .pptx
BUSINESS QUIZ | THE QUIZ CLUB OF PSGCAS | 17TH MARCH 2025 .pptxBUSINESS QUIZ | THE QUIZ CLUB OF PSGCAS | 17TH MARCH 2025 .pptx
BUSINESS QUIZ | THE QUIZ CLUB OF PSGCAS | 17TH MARCH 2025 .pptx
Quiz Club of PSG College of Arts & Science
2. ES: Application of Number: Units of measure & conversions
2. ES: Application of Number: Units of measure & conversions2. ES: Application of Number: Units of measure & conversions
2. ES: Application of Number: Units of measure & conversions
leigh441292
Purchase Analysis in Odoo 17 - Odoo 際際滷s
Purchase Analysis in Odoo 17 - Odoo 際際滷sPurchase Analysis in Odoo 17 - Odoo 際際滷s
Purchase Analysis in Odoo 17 - Odoo 際際滷s
Celine George
technology in banking ppt FOR E-CONTENT -2.ppt
technology in banking ppt  FOR E-CONTENT -2.ppttechnology in banking ppt  FOR E-CONTENT -2.ppt
technology in banking ppt FOR E-CONTENT -2.ppt
HARIHARAN A
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptxO SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
Literature Hero
A-Z GENERAL QUIZ | THE QUIZ CLUB OF PSGCAS | 14TH MARCH 2025.pptx
A-Z GENERAL QUIZ | THE QUIZ CLUB OF PSGCAS | 14TH MARCH 2025.pptxA-Z GENERAL QUIZ | THE QUIZ CLUB OF PSGCAS | 14TH MARCH 2025.pptx
A-Z GENERAL QUIZ | THE QUIZ CLUB OF PSGCAS | 14TH MARCH 2025.pptx
Quiz Club of PSG College of Arts & Science
Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...
Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...
Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...
A Biodiction : A Unit of Dr. Divya Sharma
LITERATURE QUIZ | THE QUIZ CLUB OF PSGCAS | 11 MARCH 2025 .pdf
LITERATURE QUIZ | THE QUIZ CLUB OF PSGCAS | 11 MARCH 2025 .pdfLITERATURE QUIZ | THE QUIZ CLUB OF PSGCAS | 11 MARCH 2025 .pdf
LITERATURE QUIZ | THE QUIZ CLUB OF PSGCAS | 11 MARCH 2025 .pdf
Quiz Club of PSG College of Arts & Science
Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...
Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...
Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...
Sue Beckingham
PSD-I Exam Dumps: Your Key to Passing on the First Try
PSD-I Exam Dumps: Your Key to Passing on the First TryPSD-I Exam Dumps: Your Key to Passing on the First Try
PSD-I Exam Dumps: Your Key to Passing on the First Try
lethamcmullen
Using GenAI for Universal Design for Learning
Using GenAI for Universal Design for LearningUsing GenAI for Universal Design for Learning
Using GenAI for Universal Design for Learning
Damian T. Gordon
Synthesis for VIth SEM 21-2-25.pptx by Mrs. Manjushri P. Dabhade
Synthesis for VIth SEM 21-2-25.pptx by Mrs. Manjushri P. DabhadeSynthesis for VIth SEM 21-2-25.pptx by Mrs. Manjushri P. Dabhade
Synthesis for VIth SEM 21-2-25.pptx by Mrs. Manjushri P. Dabhade
Dabhade madam Dabhade
10.socialorganisationandsocialsystem .pptx
10.socialorganisationandsocialsystem .pptx10.socialorganisationandsocialsystem .pptx
10.socialorganisationandsocialsystem .pptx
Vivek Bhattji
TI LI畛U CHUYN SU L畛P 12 THEO CH働NG TRNH M畛I DNG CHO C畉 3 B畛 SCH N THI...
TI LI畛U CHUYN SU L畛P 12 THEO CH働NG TRNH M畛I DNG CHO C畉 3 B畛 SCH N THI...TI LI畛U CHUYN SU L畛P 12 THEO CH働NG TRNH M畛I DNG CHO C畉 3 B畛 SCH N THI...
TI LI畛U CHUYN SU L畛P 12 THEO CH働NG TRNH M畛I DNG CHO C畉 3 B畛 SCH N THI...
Nguyen Thanh Tu Collection
The Effectiveness of Manual Therapies on the Thoracic.pptx
The Effectiveness of Manual Therapies on the Thoracic.pptxThe Effectiveness of Manual Therapies on the Thoracic.pptx
The Effectiveness of Manual Therapies on the Thoracic.pptx
SamarHosni3
Strategic Corporate Social Responsibility: Sustainable Value Creation Fourth
Strategic Corporate Social Responsibility: Sustainable Value Creation FourthStrategic Corporate Social Responsibility: Sustainable Value Creation Fourth
Strategic Corporate Social Responsibility: Sustainable Value Creation Fourth
keileyrazawi
Combinatorial_Chemistry.pptx by Mrs. Manjushri P. Dabhade
Combinatorial_Chemistry.pptx by Mrs. Manjushri P. DabhadeCombinatorial_Chemistry.pptx by Mrs. Manjushri P. Dabhade
Combinatorial_Chemistry.pptx by Mrs. Manjushri P. Dabhade
Dabhade madam Dabhade
Test Bank Pharmacology 3rd Edition Brenner Stevens
Test Bank Pharmacology 3rd Edition Brenner  StevensTest Bank Pharmacology 3rd Edition Brenner  Stevens
Test Bank Pharmacology 3rd Edition Brenner Stevens
evakimworwa38
2. ES: Application of Number: Units of measure & conversions
2. ES: Application of Number: Units of measure & conversions2. ES: Application of Number: Units of measure & conversions
2. ES: Application of Number: Units of measure & conversions
leigh441292
Purchase Analysis in Odoo 17 - Odoo 際際滷s
Purchase Analysis in Odoo 17 - Odoo 際際滷sPurchase Analysis in Odoo 17 - Odoo 際際滷s
Purchase Analysis in Odoo 17 - Odoo 際際滷s
Celine George
technology in banking ppt FOR E-CONTENT -2.ppt
technology in banking ppt  FOR E-CONTENT -2.ppttechnology in banking ppt  FOR E-CONTENT -2.ppt
technology in banking ppt FOR E-CONTENT -2.ppt
HARIHARAN A
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptxO SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
O SWEET SPONTANEOUS BY EDWARD ESTLIN CUMMINGSAN.pptx
Literature Hero
Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...
Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...
Bioinformatics: History of Bioinformatics, Components of Bioinformatics, Geno...
A Biodiction : A Unit of Dr. Divya Sharma
Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...
Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...
Enhancing SoTL through Generative AI -- Opportunities and Ethical Considerati...
Sue Beckingham
PSD-I Exam Dumps: Your Key to Passing on the First Try
PSD-I Exam Dumps: Your Key to Passing on the First TryPSD-I Exam Dumps: Your Key to Passing on the First Try
PSD-I Exam Dumps: Your Key to Passing on the First Try
lethamcmullen
Using GenAI for Universal Design for Learning
Using GenAI for Universal Design for LearningUsing GenAI for Universal Design for Learning
Using GenAI for Universal Design for Learning
Damian T. Gordon

introduction-to-dbms-unit-1.ppt

  • 2. Course Objectives To understand purpose of database management system Apply concepts like database design and database languages in managing data Importance of normalization in dbms and SQL in implementation of database access Knowledge of transaction control , recovery strategies , storage and indexing etc
  • 4. Text Book 1.Database Management Systems, Raghurama Krishnan, Johannes Gehrke (2007), 3rd Edition, Tata McGraw-Hill, New Delhi, India 2.Database System Concepts Abraham Silberschatz, Henry F. Korth, S. Sudarshan (2010), 6th Edition, McGraw-Hill, New Delhi, India.
  • 6. Roles Data Engineer Data Scientist etc
  • 7. History of database systems Integrated Data Store, First general purpose DBMS by charles bachman at General Electric.[Network Model] IBMs Information Management System(IMS)[hierachial data model] SABRE system for making airline reservations By American airlines and IBM In 1970,at IBMs San Jose Research laboratory proposed relational data model In 1980s, SQL for relational databases by IBM Database transaction management james gray 1999 IBMs DB2, Oracle 8, Informix UDS ERP and MRP DBMS with internet Multimedia databases, streaming data, digital libraries ,NASAs earth observation system project Decision making and mining data repositories
  • 8. Introduction to database management systems Data: Data represents known facts or raw information in unorganized form (such as alphabets or numbers or symbols ) . Database: Database is a organized collection of data describing the activities of one or more related organizations. Database management system(DBMS) is a software designed to assist in storing, maintaining and utilizing large collections of data. or A database-management system (DBMS) is a computer-software application which interacts with end-users, other applications, and the database itself to access,update,manage and analyze data with the help of set of application programs.
  • 9. Advantages of Database management systems Data Independence Efficient data access Data integrity and security Data administration Concurrent access and crash recovery Reduced application development time
  • 11. Database systems Vs file systems File storage refers to a collection of operating system files. DBMS features to manage the data in a robust and efficient manner.
  • 12. Advantages of dbms over file system No redundant data Redundancy removed by data normalization Data Consistency and Integrity data normalization takes care of it too Secure Each user has a different set of access Privacy Limited access Easy access to data Easy recovery Flexible
  • 13. View of data Abstraction Data Abstraction Instance and schema
  • 14. Abstraction :Hiding unnecessary details from the user and providing abstract view of data which is required to users. Data Abstraction: Database systems are made-up of complex data structures. To ease the user interaction with database, the developers hide internal irrelevant details from users. This process of hiding irrelevant details from user is called data abstraction.
  • 15. Schema Design of a database is called schema. 3 types: Physical schema Logical schema View schema
  • 16. Data models Data models determines the logical structure of a database A Data Model is a logical structure of Database. It describes the design of database to reflect entities, attributes, relationship among data, constrains etc.
  • 17. Data models Relational data model Entity relationship model Hierarchical data model Network model Object oriented model Object relational model Semi structured data model Flat data model
  • 18. Hierarchical data model A hierarchical database model is a data model in which the data is organized into a tree-like structure. The data is stored as records which are connected to one another through links. A record is a collection of fields, with each field containing only one value.
  • 22. Network model In the network model, entities are organized in a graph, in which some entities can be accessed through several paths.
  • 25. Object oriented data model This data model is another method of representing real world objects. It considers each object in the world as objects and isolates it from each other. It groups its related functionalities together and allows inheriting its functionality to other related sub-groups.
  • 27. Object relational data model An object-relational database (ORD), or object-relational database management system (ORDBMS), is a database management system (DBMS) similar to a relational database, but with an object-oriented database model: objects, classes and inheritance are directly supported in database schemas and in the query language
  • 28. Semi structured data model: The semi-structured data model is designed as an evolution of the relational data model that allows the representation of data with a flexible structure. Semi-structured data model is model where schema is part of data
  • 32. Select Unique Distinct Count As In Sum IS NULL IS NOT NULL ORDER BY AND, OR
  • 33. Database users and administration Database users 1. Application Programmers 2. Sophisticated users 3. Specialized users 4. Stand-alone users 5. Native Users
  • 34. Database administrators Responsibilities of DBA: Installing and upgrading DBMS servers Design and implementation of databases Schema definition , storage structure, access method definition Performance Tuning Migrate database servers Backup and recovery Security Documentation etc
  • 35. Types of database administrators Administrative DBA Development DBA Database Architect Data warehouse DBA Application DBA OLAP DBA
  • 36. Transaction management Transaction Partial transactions Concurrent execution of transactions Locking protocol Locks Shared locks Exclusive locks Incomplete transactions System crashes Log Write Ahead Log (WAL) Checkpoint Periodic checkpoints
  • 37. Introduction to database design Database design process steps Requirement Analysis Conceptual database design Logical database design Schema refinement Physical database design Application and security design
  • 38. E -R diagrams The E-R data model allows us to describe the data involved in a real-world enterprise in terms of objects and their relationships and is widely used to develop an initial database design.
  • 39. entities An entity is an object in the real world that is distinguishable from other objects. An Entity can be any object, place, person or class. an entity is represented using rectangles. Employee Department Works for
  • 40. Weak entity Weak entity is an entity that depends on another entity. Weak entity doesn't have key attribute of their own. Double rectangle represents weak entity.
  • 41. attributes An Attribute describes a property or characteristic of an entity. For example, Name, Age, Address etc can be attributes of a Student. An attribute is represented using eclipse
  • 42. Types of attributes Key attribute Composite attributes Derived attributes
  • 43. relationships A Relationship describes relations between entities. Relationship is represented using diamonds Relationship is an association among 2 or more entities There are three types of relationship that exist between Entities. Binary Relationship Recursive Relationship Ternary Relationship
  • 44. relationship sets Collection of set of similar relationships is called a relationship set.
  • 45. additional features of the E -R model Key constraints Key constraints for ternary relationships Participation constraints(partial and complete) Class hierarchies Aggregation
  • 46. conceptual design with the E-R model Entity versus attribute Entity versus relationship Binary versus ternary relationships Aggregation versus ternary relationships
  • 47. conceptual design for large enterprises
  • 48. A college contains many departments Each department can offer any number of courses Many instructors can work in a department An instructor can work only in one department For each department there is a Head An instructor can be head of only one department Each instructor can take any number of courses A course can be taken by only one instructor A student can enroll for any number of courses Each course can have any number of students
  • 49. Step 1 : Identify the Entities Stem 2 : Identify the relationships Step 3: Identify the key attributes Step 4: Identify other relevant attributes Step 5: Draw complete ER diagram
  • 50. Step 1 : Identify the Entities What are the entities here? From the statements given, the entities are Department Course Instructor Student
  • 51. Stem 2 : Identify the relationships One department offers many courses. But one particular course can be offered by only one department. hence the cardinality between department and course is One to Many (1:N) One department has multiple instructors . But instructor belongs to only one department. Hence the cardinality between department and instructor is One to Many (1:N) One department has only one head and one head can be the head of only one department. Hence the cardinality is one to one. (1:1) One course can be enrolled by many students and one student can enroll for many courses. Hence the cardinality between course and student is Many to Many (M:N) One course is taught by only one instructor. But one instructor teaches many courses. Hence the cardinality between course and instructor is Many to One (N :1)
  • 52. Step 3: Identify the key attributes "Departmen_Name" can identify a department uniquely. Hence Department_Name is the key attribute for the Entity "Department". Course_ID is the key attribute for "Course" Entity. Student_ID is the key attribute for "Student" Entity. Instructor_ID is the key attribute for "Instructor" Entity.
  • 53. Step 4: Identify other relevant attributes For the department entity, other attributes are location For course entity, other attributes are course_name,duration For instructor entity, other attributes are first_name, last_name, phone For student entity, first_name, last_name, phone
  • 56. A typical example could be entities Customer, Order, and Product. An instance of the Customer entity is identified by a unique customer number, an instance of the Order entity is identified by a unique order number, and an instance of the Product entity is identified by a unique product number.