SlideShare a Scribd company logo
Chapter 1
Introduction to Databases
Pearson Education © 2014
Chapter 1 - Objectives
Some common uses of database systems.
Characteristics of file-based systems.
Problems with file-based approach.
Meaning of the term database.
Meaning of the term Database
Management System (DBMS).
Pearson Education © 2014
Chapter 1 - Objectives
Typical functions of a DBMS.
Major components of the DBMS
environment.
Personnel involved in the DBMS
environment.
History of the development of DBMSs.
Advantages and disadvantages of DBMSs.
Pearson Education © 2014
Examples of Database Applications
Purchases from the supermarket
Purchases using your credit card
Booking a holiday at the travel agents
Using the local library
Taking out insurance
Renting a video
Using the Internet
Studying at university
Pearson Education © 2014
File-Based Systems
Collection of application programs that
perform services for the end users (e.g.
reports).
Each program defines and manages its
own data.
Pearson Education © 2014
File-Based Processing
Pearson Education © 2014
Limitations of File-Based Approach
Separation and isolation of data
Each program maintains its own set of data.
Users of one program may be unaware of
potentially useful data held by other programs.
Duplication of data
Same data is held by different programs.
Wasted space and potentially different values
and/or different formats for the same item.
Pearson Education © 2014
Limitations of File-Based Approach
Data dependence
File structure is defined in the program
code.
Incompatible file formats
Programs are written in different languages,
and so cannot easily access each other’s files.
Fixed Queries/Proliferation of application
programs
Programs are written to satisfy particular
functions.
Any new requirement needs a new program.
Pearson Education © 2014
Database Approach
Arose because:
Definition of data was embedded in
application programs, rather than being
stored separately and independently.
No control over access and manipulation of
data beyond that imposed by application
programs.
Result:
the database and Database Management
System (DBMS).
Pearson Education © 2014
Database
Shared collection of logically related data
(and a description of this data), designed to
meet the information needs of an
organization.
System catalog (metadata) provides
description of data to enable program–data
independence.
Logically related data comprises entities,
attributes, and relationships of an
organization’s information.
Pearson Education © 2014
Database Management System (DBMS)
A software system that enables users to
define, create, maintain, and control
access to the database.
(Database) application program: a
computer program that interacts with
database by issuing an appropriate
request (SQL statement) to the DBMS.
Pearson Education © 2014
Database Management System (DBMS)
Pearson Education © 2014
Database Approach
Data definition language (DDL).
Permits specification of data types,
structures and any data constraints.
All specifications are stored in the database.
Data manipulation language (DML).
General enquiry facility (query language) of
the data.
Pearson Education © 2014
Database Approach
Controlled access to database may
include:
a security system
an integrity system
a concurrency control system
a recovery control system
a user-accessible catalog.
Pearson Education © 2014
Views
Allows each user to have his or her own
view of the database.
A view is essentially some subset of the
database.
Pearson Education © 2014
Views - Benefits
Reduce complexity
Provide a level of security
Provide a mechanism to customize the
appearance of the database
Present a consistent, unchanging picture
of the structure of the database, even if
the underlying database is changed
Pearson Education © 2014
Components of DBMS Environment
Pearson Education © 2014
Components of DBMS Environment
Hardware
Can range from a PC to a network of
computers.
Software
DBMS, operating system, network software (if
necessary) and also the application programs.
Data
Used by the organization and a description
of this data called the schema.
Pearson Education © 2014
Components of DBMS Environment
Procedures
Instructions and rules that should be applied to
the design and use of the database and DBMS.
People
Pearson Education © 2014
Roles in the Database Environment
Data Administrator (DA)
Database Administrator (DBA)
Database Designers (Logical and
Physical)
Application Programmers
End Users (naive and sophisticated)
Pearson Education © 2014
History of Database Systems
First-generation
Hierarchical and Network
Second generation
Relational
Third generation
Object-Relational
Object-Oriented
Pearson Education © 2014
Advantages of DBMSs
Control of data redundancy
Data consistency
More information from the same amount
of data
Sharing of data
Improved data integrity
Improved security
Enforcement of standards
Economy of scale
Pearson Education © 2014
Advantages of DBMSs
Balance conflicting requirements
Improved data accessibility and
responsiveness
Increased productivity
Improved maintenance through data
independence
Increased concurrency
Improved backup and recovery services
Pearson Education © 2014
Disadvantages of DBMSs
Complexity
Size
Cost of DBMS
Additional hardware costs
Cost of conversion
Performance
Higher impact of a failure
Pearson Education © 2014

More Related Content

Similar to database systems and concepts for engineers (20)

PDF
Database Systems - Lecture Week 1
Dios Kurniawan
 
PDF
23246406 dbms-unit-1
Piyush Kant Singh
 
PPTX
Overview of Data Base Systems Concepts and Architecture
Rubal Sagwal
 
PPTX
rdbms1-191014080818000000000000000000000000000000000
VaibhavSrivastav52
 
PPTX
Database Management system : UNit I Helping to understand basics of dbms oper...
SanthanalakshmiSelva2
 
PPTX
Unit 1_a3a8ea5ab7e65a96a4c41a4868546494.pptx
AshishHiwale1
 
PPTX
Introduction to Database Systems, File System vs DBMS,
agrawalmonikacomp
 
PPTX
Unit1 dbms
gowrivageesan87
 
PDF
DBMS_UNIT_1.pdf
Koteswari Kasireddy
 
PPTX
Unit1,2 economics best ppt ever made.pptx
SwastikSharma42
 
PDF
dbms Unit 1.pdf arey bhai teri maa chodunga
VaradKadtan1
 
PPT
ch02 - Database Environment.ppt chapter 2
enyonucyrus3
 
PPT
DBMS Lecture 1.ppt
MohsinBajwa18
 
PPTX
DBMS introduction and functionality of of dbms
ranjana dalwani
 
PPTX
Introduction to DBMS.pptx
Sreenivas R
 
PPT
INTRODUCTION TO RDBMS
Vidhya Balan
 
PPT
Database, Lecture-1.ppt
MatshushimaSumaya
 
PPTX
Unit-1 DBMS24.pptxruzruxtidtixift8ffticiycyoc
dagadsai0330
 
Database Systems - Lecture Week 1
Dios Kurniawan
 
23246406 dbms-unit-1
Piyush Kant Singh
 
Overview of Data Base Systems Concepts and Architecture
Rubal Sagwal
 
rdbms1-191014080818000000000000000000000000000000000
VaibhavSrivastav52
 
Database Management system : UNit I Helping to understand basics of dbms oper...
SanthanalakshmiSelva2
 
Unit 1_a3a8ea5ab7e65a96a4c41a4868546494.pptx
AshishHiwale1
 
Introduction to Database Systems, File System vs DBMS,
agrawalmonikacomp
 
Unit1 dbms
gowrivageesan87
 
DBMS_UNIT_1.pdf
Koteswari Kasireddy
 
Unit1,2 economics best ppt ever made.pptx
SwastikSharma42
 
dbms Unit 1.pdf arey bhai teri maa chodunga
VaradKadtan1
 
ch02 - Database Environment.ppt chapter 2
enyonucyrus3
 
DBMS Lecture 1.ppt
MohsinBajwa18
 
DBMS introduction and functionality of of dbms
ranjana dalwani
 
Introduction to DBMS.pptx
Sreenivas R
 
INTRODUCTION TO RDBMS
Vidhya Balan
 
Database, Lecture-1.ppt
MatshushimaSumaya
 
Unit-1 DBMS24.pptxruzruxtidtixift8ffticiycyoc
dagadsai0330
 

Recently uploaded (20)

PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
PDF
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PDF
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PPTX
Day2 B2 Best.pptx
helenjenefa1
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PPTX
GitOps_Without_K8s_Training simple one without k8s
DanialHabibi2
 
PPTX
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PPTX
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PPTX
Hashing Introduction , hash functions and techniques
sailajam21
 
PPTX
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
MRRS Strength and Durability of Concrete
CivilMythili
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
Design Thinking basics for Engineers.pdf
CMR University
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
Day2 B2 Best.pptx
helenjenefa1
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
GitOps_Without_K8s_Training simple one without k8s
DanialHabibi2
 
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
Hashing Introduction , hash functions and techniques
sailajam21
 
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Ad

database systems and concepts for engineers

  • 1. Chapter 1 Introduction to Databases Pearson Education © 2014
  • 2. Chapter 1 - Objectives Some common uses of database systems. Characteristics of file-based systems. Problems with file-based approach. Meaning of the term database. Meaning of the term Database Management System (DBMS). Pearson Education © 2014
  • 3. Chapter 1 - Objectives Typical functions of a DBMS. Major components of the DBMS environment. Personnel involved in the DBMS environment. History of the development of DBMSs. Advantages and disadvantages of DBMSs. Pearson Education © 2014
  • 4. Examples of Database Applications Purchases from the supermarket Purchases using your credit card Booking a holiday at the travel agents Using the local library Taking out insurance Renting a video Using the Internet Studying at university Pearson Education © 2014
  • 5. File-Based Systems Collection of application programs that perform services for the end users (e.g. reports). Each program defines and manages its own data. Pearson Education © 2014
  • 7. Limitations of File-Based Approach Separation and isolation of data Each program maintains its own set of data. Users of one program may be unaware of potentially useful data held by other programs. Duplication of data Same data is held by different programs. Wasted space and potentially different values and/or different formats for the same item. Pearson Education © 2014
  • 8. Limitations of File-Based Approach Data dependence File structure is defined in the program code. Incompatible file formats Programs are written in different languages, and so cannot easily access each other’s files. Fixed Queries/Proliferation of application programs Programs are written to satisfy particular functions. Any new requirement needs a new program. Pearson Education © 2014
  • 9. Database Approach Arose because: Definition of data was embedded in application programs, rather than being stored separately and independently. No control over access and manipulation of data beyond that imposed by application programs. Result: the database and Database Management System (DBMS). Pearson Education © 2014
  • 10. Database Shared collection of logically related data (and a description of this data), designed to meet the information needs of an organization. System catalog (metadata) provides description of data to enable program–data independence. Logically related data comprises entities, attributes, and relationships of an organization’s information. Pearson Education © 2014
  • 11. Database Management System (DBMS) A software system that enables users to define, create, maintain, and control access to the database. (Database) application program: a computer program that interacts with database by issuing an appropriate request (SQL statement) to the DBMS. Pearson Education © 2014
  • 12. Database Management System (DBMS) Pearson Education © 2014
  • 13. Database Approach Data definition language (DDL). Permits specification of data types, structures and any data constraints. All specifications are stored in the database. Data manipulation language (DML). General enquiry facility (query language) of the data. Pearson Education © 2014
  • 14. Database Approach Controlled access to database may include: a security system an integrity system a concurrency control system a recovery control system a user-accessible catalog. Pearson Education © 2014
  • 15. Views Allows each user to have his or her own view of the database. A view is essentially some subset of the database. Pearson Education © 2014
  • 16. Views - Benefits Reduce complexity Provide a level of security Provide a mechanism to customize the appearance of the database Present a consistent, unchanging picture of the structure of the database, even if the underlying database is changed Pearson Education © 2014
  • 17. Components of DBMS Environment Pearson Education © 2014
  • 18. Components of DBMS Environment Hardware Can range from a PC to a network of computers. Software DBMS, operating system, network software (if necessary) and also the application programs. Data Used by the organization and a description of this data called the schema. Pearson Education © 2014
  • 19. Components of DBMS Environment Procedures Instructions and rules that should be applied to the design and use of the database and DBMS. People Pearson Education © 2014
  • 20. Roles in the Database Environment Data Administrator (DA) Database Administrator (DBA) Database Designers (Logical and Physical) Application Programmers End Users (naive and sophisticated) Pearson Education © 2014
  • 21. History of Database Systems First-generation Hierarchical and Network Second generation Relational Third generation Object-Relational Object-Oriented Pearson Education © 2014
  • 22. Advantages of DBMSs Control of data redundancy Data consistency More information from the same amount of data Sharing of data Improved data integrity Improved security Enforcement of standards Economy of scale Pearson Education © 2014
  • 23. Advantages of DBMSs Balance conflicting requirements Improved data accessibility and responsiveness Increased productivity Improved maintenance through data independence Increased concurrency Improved backup and recovery services Pearson Education © 2014
  • 24. Disadvantages of DBMSs Complexity Size Cost of DBMS Additional hardware costs Cost of conversion Performance Higher impact of a failure Pearson Education © 2014