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

Mais conteúdo relacionado

Mais procurados

L7 data model and dbms architecture
L7  data model and dbms architectureL7  data model and dbms architecture
L7 data model and dbms architectureRushdi Shams
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to databasePradnya Saval
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02smelltulip
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management SystemHitesh Mohapatra
 
Technical Note on DBMS
Technical Note on DBMSTechnical Note on DBMS
Technical Note on DBMSKr Shrishant
 
DBMS & Data Models - In Introduction
DBMS & Data Models - In IntroductionDBMS & Data Models - In Introduction
DBMS & Data Models - In IntroductionRajeev Srivastava
 
Introduction To Database Management System
Introduction To Database Management SystemIntroduction To Database Management System
Introduction To Database Management Systemcpjcollege
 
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 Modelingoudesign
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databasesAashima Wadhwa
 
Datamodels & architecture
Datamodels & architectureDatamodels & architecture
Datamodels & architectureNeeraj 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 DBMSBIT Durg
 

Mais procurados (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
 

Semelhante a Database Modelling Concepts - Chapter 1

database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfparveen204931475
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
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 4Syed Ariful Islam Emon
 
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 databasemaqsoodahmedbscsfkhp
 
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvyppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvyvk5985399
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introductionJananath Banuka
 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1Sonia Mim
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singhGursharan Singh
 
Dbms questions
Dbms questionsDbms questions
Dbms questionsSrikanth
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfMrjJoker1
 

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

Último

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Último (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

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