SlideShare a Scribd company logo
Chapter 1
Introduction

- www.EbooksAdda.in -

1
Introduction
Definition A database management system (DBMS) is a
general-purpose software system that facilitates the process
of defining, constructing, and manipulating databases for
various applications.
Definition A database is a collection of related data.
Definition Data are known facts that can be recorded and
that have implicit meaning.
Definition File processing systems are business computer
systems which store groups of records in separate files & used
to process business records & produce information.
- www.EbooksAdda.in -

2
Introduction
DBMS

File Processing Systems

Data redundancy &
inconsistency

Reduced by ensuring a
physical piece of data is
available to all
programs

Data is often duplicated
causing higher storage and
access cost, poor data integrity,
and data inconsistency

Accessing data

Allow flexible access to Allow pre-determined access
data (e.g., using queries to data (i.e., complied programs);
for data retrievals)
application programs are
dependent on file formats

Concurrent access

Designed to coordinate
multiple users accessing
the same data at the
same time

Designed to allow a file to be
accessed by two programs
concurrently only if both
programs have read-only
access to the file

Data security &
integrity

High, enforced

Loose, not enforced

- www.EbooksAdda.in -

3
Data Abstraction
Provides an abstract view of data
Physical level: the lowest level of abstraction
describes the storage structure of data.
Conceptual level: the next-higher level of abstraction
describes the logical structure of the database.
View level: the highest level of abstraction describes
part of the entire database. Many views are
provides for the same database.
- www.EbooksAdda.in -

4
Database Terminology
Database Schema or Conceptual View: describes the
overall structure of the entire database
Database Instance: describes the content of the database
Scheme = Type, Instance = Value of a variable

- www.EbooksAdda.in -

5
Data Independence
The capacity to change the scheme definition at one level w/o
having to change the scheme definition at the next higher
level
Physical data independence: capacity to change the
physical schema w/o having to rewrite the application
programs
Logical data independence: capacity to change the
conceptual schema w/o having to rewrite the application
programs
logical data independence is more difficult to achieve than
physical data independence
- www.EbooksAdda.in - 6
Data Models
Describe relationships among data, data semantics, integrity
& semantic constraints
I. Object-Based Logic Models
describe data at the conceptual & view levels
DB is structured in variable-length records
provide flexible structuring capabilities
allow explicit specifications of data constraints
widely used data models: Entity-Relationship & Object-Oriented
II. Record-Based Logical Models
describe data at the conceptual & view levels
DB is structured in fixed-format records of different types
three widely used data models: Relational, Hierarchical, &
Network.
- www.EbooksAdda.in - 7
Entity-Relationship (E-R) Model
An Object-Based Model
A graphical structure (Chapter 2)
Widely used in database design
Consists of real world objects called entities & relationships
among entities
An entity is an distinguishable object w/ a set of attributes
Entity set is a set of entities of the same type
Relationship set is a set of relationships of the same type
Mapping cardinalities represent the associations among
different entities
- www.EbooksAdda.in -

8
An Entity-Relationship Diagram
FNAME

FACULTY
1

DEPT

ADVISES

ID#

n

SNAME

STUDENT

ADDR
MAJOR

n

n
HAS_TAKEN

IS_TAKEN

m

m

COURSE
COURSE#

CRHRS

- www.EbooksAdda.in -

9
An Entity-Relationship Diagram
FNAME

FACULTY

DEPT
ADVISES

ID#
SNAME

STUDENT

ADDR
MAJOR

HAS_TAKEN

IS_TAKEN

COURSE
COURSE#

CRHRS

- www.EbooksAdda.in -

10
The Object-Oriented Model
An Object-Based Model
Object identity (object-based) vs. value identity (record-based)

A collection of objects w/ unique identities
Objects can be simple/complex
Objects can be made up of other objects

Objects contain methods, codes operated on objects
An operation/function that can be performed on objects of
particular classes
Provide “public interface” for objects of a particular class

Classes consist of objects
Correspond to abstract data type (ADT)
Users can define their own classes
Only way to operate on an object by means of operators defined

Message passing for accessing data in different objects
- www.EbooksAdda.in Apply a given method to a given object by sending11message
a
Object-Oriented Model
Object-Oriented term

Programming term

Object

Variable

Class

Type

Method

Function

Message

Call

Class hierarchy

Type hierarchy
- www.EbooksAdda.in -

12
Object-Oriented Database Systems
Employee
PersonName
first

String
Ray

last

EmpName

String
Ross
SmallInteger

SSNo

11122333
HomeAddress

Address
stNumber

SmallInteger
1055

street

String
Alameda

city

Salary

Figure. An employee object.

String
Gresham
SmallInteger
45558
- www.EbooksAdda.in

-

13
The Relational Model
A Record-Based Model
Data are organized & stored into 2-dimensional tables
(called relations)
Flexible to use and easy to understand
A relational database scheme consists of a number of
relation schemes of the form R(A1, A2, …, An),
where R is a relation name and Ai, 1 < i < n, is
an attribute name.

- www.EbooksAdda.in -

14
The Relational Model
Relational term

Informal equivalents

Relation

Table

Tuple

Row/Record

Cardinality

# rows

Attribute

Column/Field

Degree

# columns

Domain

Set of legal values

Primary key

Unique identifier
- www.EbooksAdda.in -

15
The Relational Database Model
NAME

S#

STATUS

CITY
London
Paris
etc.

Domains

Primary Key
S
Relation

S#

SNAME

S1
S2
S3
S4
S5

STATUS

Smith
Jones
Blake
Clark
Adams

20
10
30
20
30

CITY
London
Paris
Paris
London
Athens

Tuples

Attributes
Degree

- www.EbooksAdda.in -

16

C
a
r
d
i
n
a
l
i
t
y
Data Definition Languages
(DDL) & Data Manipulation
Languages (DML)
DDL
Declares the DB schema and compiles the schema into tables

DML
Access/Manipulate (retrieve, insert, delete, & modify) the DB
Procedural (or descriptive): specify what is needed & how to
get it
Non-procedural (or declarative): specify what is needed but
not how to get it

- www.EbooksAdda.in -

17
Thank You !
For More:
Visit Us @
www.ebooksadda.in
www.technotz.info

- www.EbooksAdda.in -

18

More Related Content

What's hot

L7 data model and dbms architecture
L7  data model and dbms architectureL7  data model and dbms architecture
L7 data model and dbms architecture
Rushdi Shams
 
Types dbms
Types dbmsTypes dbms
Types dbms
Avnish Shaw
 
Dbms Networks
Dbms NetworksDbms Networks
Dbms Networks
Sagar Morakhia
 
RDBMS.ppt
RDBMS.pptRDBMS.ppt
RDBMS.ppt
Ketan Chaoji
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
CHANDRA BHUSHAN
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
Pradnya Saval
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
smelltulip
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
Hitesh Mohapatra
 
Technical Note on DBMS
Technical Note on DBMSTechnical Note on DBMS
Technical Note on DBMS
Kr Shrishant
 
DBMS & Data Models - In Introduction
DBMS & Data Models - In IntroductionDBMS & Data Models - In Introduction
DBMS & Data Models - In Introduction
Rajeev Srivastava
 
Introduction To Database Management System
Introduction To Database Management SystemIntroduction To Database Management System
Introduction To Database Management System
cpjcollege
 
Dbms
DbmsDbms
Dbms
sevtap87
 
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Atik Israk
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
oudesign
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
Aashima Wadhwa
 
Datamodels & architecture
Datamodels & architectureDatamodels & architecture
Datamodels & architecture
Neeraj Kumar
 
Dbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMSDbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMS
BIT Durg
 
Dbms unit i
Dbms unit iDbms unit i
Dbms unit i
Arnav Chowdhury
 
Mydbms
MydbmsMydbms

What's hot (20)

L7 data model and dbms architecture
L7  data model and dbms architectureL7  data model and dbms architecture
L7 data model and dbms architecture
 
Types dbms
Types dbmsTypes dbms
Types dbms
 
Dbms Networks
Dbms NetworksDbms Networks
Dbms Networks
 
RDBMS.ppt
RDBMS.pptRDBMS.ppt
RDBMS.ppt
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
 
Technical Note on DBMS
Technical Note on DBMSTechnical Note on DBMS
Technical Note on DBMS
 
DBMS & Data Models - In Introduction
DBMS & Data Models - In IntroductionDBMS & Data Models - In Introduction
DBMS & Data Models - In Introduction
 
Introduction To Database Management System
Introduction To Database Management SystemIntroduction To Database Management System
Introduction To Database Management System
 
Dbms
DbmsDbms
Dbms
 
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
 
RDBMS
RDBMSRDBMS
RDBMS
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
Datamodels & architecture
Datamodels & architectureDatamodels & architecture
Datamodels & architecture
 
Dbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMSDbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMS
 
Dbms unit i
Dbms unit iDbms unit i
Dbms unit i
 
Mydbms
MydbmsMydbms
Mydbms
 

Similar to Database Modelling Concepts - Chapter 1

database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
parveen204931475
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
arnold 7490
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide   database management system 4M.sc. engg (ict) admission guide   database management system 4
M.sc. engg (ict) admission guide database management system 4
Syed Ariful Islam Emon
 
Dbms module i
Dbms module iDbms module i
Dbms module i
SANTOSH RATH
 
Dbms unit01
Dbms unit01Dbms unit01
Dbms unit01
Ila Chandana
 
Lecture 1 to 3intro to normalization in database
Lecture 1 to 3intro to  normalization in databaseLecture 1 to 3intro to  normalization in database
Lecture 1 to 3intro to normalization in database
maqsoodahmedbscsfkhp
 
RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.
Girish. N. Raghavan
 
Dbms 1
Dbms 1Dbms 1
Dbms 1
kartik_chell
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
Daniel Francisco Tamayo
 
Ch1- Introduction to dbms
Ch1- Introduction to dbmsCh1- Introduction to dbms
Ch1- Introduction to dbms
Shakila Mahjabin
 
Dbms notes
Dbms notesDbms notes
Dbms notes
Upasana Talukdar
 
Database management systems
Database management systemsDatabase management systems
Database management systems
Ravindra Singh Gohil
 
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvyppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
vk5985399
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
Jananath Banuka
 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1
Sonia Mim
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singh
Gursharan Singh
 
Dbms questions
Dbms questionsDbms questions
Dbms questions
Srikanth
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
MrjJoker1
 
Book by Muhammad Sharif full dbms Database systems handbook.pdf
Book by Muhammad Sharif  full dbms Database systems handbook.pdfBook by Muhammad Sharif  full dbms Database systems handbook.pdf
Book by Muhammad Sharif full dbms Database systems handbook.pdf
Bahria University Islamabad, Pakistan
 

Similar to Database Modelling Concepts - Chapter 1 (20)

database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide   database management system 4M.sc. engg (ict) admission guide   database management system 4
M.sc. engg (ict) admission guide database management system 4
 
Dbms module i
Dbms module iDbms module i
Dbms module i
 
Dbms unit01
Dbms unit01Dbms unit01
Dbms unit01
 
Lecture 1 to 3intro to normalization in database
Lecture 1 to 3intro to  normalization in databaseLecture 1 to 3intro to  normalization in database
Lecture 1 to 3intro to normalization in database
 
RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.
 
Dbms 1
Dbms 1Dbms 1
Dbms 1
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
 
Ch1- Introduction to dbms
Ch1- Introduction to dbmsCh1- Introduction to dbms
Ch1- Introduction to dbms
 
Dbms notes
Dbms notesDbms notes
Dbms notes
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvyppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singh
 
Dbms questions
Dbms questionsDbms questions
Dbms questions
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
 
Book by Muhammad Sharif full dbms Database systems handbook.pdf
Book by Muhammad Sharif  full dbms Database systems handbook.pdfBook by Muhammad Sharif  full dbms Database systems handbook.pdf
Book by Muhammad Sharif full dbms Database systems handbook.pdf
 

Recently uploaded

RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 

Recently uploaded (20)

RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 

Database Modelling Concepts - Chapter 1

  • 2. Introduction Definition A database management system (DBMS) is a general-purpose software system that facilitates the process of defining, constructing, and manipulating databases for various applications. Definition A database is a collection of related data. Definition Data are known facts that can be recorded and that have implicit meaning. Definition File processing systems are business computer systems which store groups of records in separate files & used to process business records & produce information. - www.EbooksAdda.in - 2
  • 3. Introduction DBMS File Processing Systems Data redundancy & inconsistency Reduced by ensuring a physical piece of data is available to all programs Data is often duplicated causing higher storage and access cost, poor data integrity, and data inconsistency Accessing data Allow flexible access to Allow pre-determined access data (e.g., using queries to data (i.e., complied programs); for data retrievals) application programs are dependent on file formats Concurrent access Designed to coordinate multiple users accessing the same data at the same time Designed to allow a file to be accessed by two programs concurrently only if both programs have read-only access to the file Data security & integrity High, enforced Loose, not enforced - www.EbooksAdda.in - 3
  • 4. Data Abstraction Provides an abstract view of data Physical level: the lowest level of abstraction describes the storage structure of data. Conceptual level: the next-higher level of abstraction describes the logical structure of the database. View level: the highest level of abstraction describes part of the entire database. Many views are provides for the same database. - www.EbooksAdda.in - 4
  • 5. Database Terminology Database Schema or Conceptual View: describes the overall structure of the entire database Database Instance: describes the content of the database Scheme = Type, Instance = Value of a variable - www.EbooksAdda.in - 5
  • 6. Data Independence The capacity to change the scheme definition at one level w/o having to change the scheme definition at the next higher level Physical data independence: capacity to change the physical schema w/o having to rewrite the application programs Logical data independence: capacity to change the conceptual schema w/o having to rewrite the application programs logical data independence is more difficult to achieve than physical data independence - www.EbooksAdda.in - 6
  • 7. Data Models Describe relationships among data, data semantics, integrity & semantic constraints I. Object-Based Logic Models describe data at the conceptual & view levels DB is structured in variable-length records provide flexible structuring capabilities allow explicit specifications of data constraints widely used data models: Entity-Relationship & Object-Oriented II. Record-Based Logical Models describe data at the conceptual & view levels DB is structured in fixed-format records of different types three widely used data models: Relational, Hierarchical, & Network. - www.EbooksAdda.in - 7
  • 8. Entity-Relationship (E-R) Model An Object-Based Model A graphical structure (Chapter 2) Widely used in database design Consists of real world objects called entities & relationships among entities An entity is an distinguishable object w/ a set of attributes Entity set is a set of entities of the same type Relationship set is a set of relationships of the same type Mapping cardinalities represent the associations among different entities - www.EbooksAdda.in - 8
  • 11. The Object-Oriented Model An Object-Based Model Object identity (object-based) vs. value identity (record-based) A collection of objects w/ unique identities Objects can be simple/complex Objects can be made up of other objects Objects contain methods, codes operated on objects An operation/function that can be performed on objects of particular classes Provide “public interface” for objects of a particular class Classes consist of objects Correspond to abstract data type (ADT) Users can define their own classes Only way to operate on an object by means of operators defined Message passing for accessing data in different objects - www.EbooksAdda.in Apply a given method to a given object by sending11message a
  • 12. Object-Oriented Model Object-Oriented term Programming term Object Variable Class Type Method Function Message Call Class hierarchy Type hierarchy - www.EbooksAdda.in - 12
  • 14. The Relational Model A Record-Based Model Data are organized & stored into 2-dimensional tables (called relations) Flexible to use and easy to understand A relational database scheme consists of a number of relation schemes of the form R(A1, A2, …, An), where R is a relation name and Ai, 1 < i < n, is an attribute name. - www.EbooksAdda.in - 14
  • 15. The Relational Model Relational term Informal equivalents Relation Table Tuple Row/Record Cardinality # rows Attribute Column/Field Degree # columns Domain Set of legal values Primary key Unique identifier - www.EbooksAdda.in - 15
  • 16. The Relational Database Model NAME S# STATUS CITY London Paris etc. Domains Primary Key S Relation S# SNAME S1 S2 S3 S4 S5 STATUS Smith Jones Blake Clark Adams 20 10 30 20 30 CITY London Paris Paris London Athens Tuples Attributes Degree - www.EbooksAdda.in - 16 C a r d i n a l i t y
  • 17. Data Definition Languages (DDL) & Data Manipulation Languages (DML) DDL Declares the DB schema and compiles the schema into tables DML Access/Manipulate (retrieve, insert, delete, & modify) the DB Procedural (or descriptive): specify what is needed & how to get it Non-procedural (or declarative): specify what is needed but not how to get it - www.EbooksAdda.in - 17
  • 18. Thank You ! For More: Visit Us @ www.ebooksadda.in www.technotz.info - www.EbooksAdda.in - 18