SlideShare a Scribd company logo
Chapter 1 1
Lecture # 1 &2
Chapter # 1
Databases and Database Users
Database Systems
Chapter 1 2
Book
Fundamentals of DATABASE SYSTEMS
5th Edition
by
Ramez Elmasri,
Shamkant B. Navathe
Chapter 1 3
Why this text is selected?
Covers principles from other courses, such
as
 System Analysis and Design
 Networking
 Website Design and Development
 MIS Principles
 Computer Programming
Chapter 1 4
Course Objectives
 Introduction to very basics
 Guides through different design stages
 Familiarize with tools
 Emphasis on design stages of database
Chapter 1
Lecture 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).
Chapter 1 6
Lecture 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.
Chapter 1
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
Chapter 1
Definitions of Database
 Def 1: Database is an organized collection of
logically related data
 Def 2: A database is a shared collection of logically
related data that is stored to meet the requirements of
different users of an organization
 Def 3: A database is a self-describing collection of
integrated records
 Def 4: A database models a particular real world
system in the computer in the form of data
Chapter 1 9
Definitions
 Data: stored representations of meaningful objects and
events or
 Referred to facts concerning objects and events that
could be recorded and stored on computer media
 Structured: numbers, text, dates
 Unstructured: images, video, documents
 Information: data processed to increase knowledge in
the person using the data
 Metadata: data that describes the properties and
context of user data
Chapter 1 10
What is a 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.
Chapter 1
Figure 1-1a Data in Context
Context helps users understand data
Chapter 1
Graphical displays turn data into useful information
that managers can use for decision making and
interpretation
Chapter 1
Descriptions of the properties or characteristics of the data,
including data types, field sizes, allowable values, and data
context
Chapter 1 14
The concept of a shared organizational
database
Accounting
Accounts
Payable
Accounts
Receivable
Management
Control
Planning
Manufacturing
Production
Scheduling
Marketing
Product
Development
Sales
Corporate
Database
Chapter 1 15
A bit of History
 Computer initially used for computational/ engineering
purposes
 Commercial applications introduced File Processing
System
Chapter 1 16
File Processing System
 A collection of application programs that perform
services for the end-users such as production of
reports
 Each program defines and manages its own data
Chapter 1 17
Registration
Applications
Registration
Data
Files
Registration
Examination
Applications
Examination
Data
Files
Examination
Library
Applications
Library
Data
Files
Library
File Processing Systems
Program and Data Interdependence
Chapter 1 18
Fine
Books Issued
Father Name
Name
Reg_Number
Library
Grade
Semester
Class
Address
Name
Reg_Number
Examination
Class
Address
Phone
Father Name
Name
Reg_Number
Registration
File Processing Systems
Chapter 1
Files Based Processing
Chapter 1
Disadvantages of File Processing
 Program-Data Dependence
 File structure is defined in the program code.
 All programs maintain metadata for each file they use
 Duplication of Data (Data Redundancy)
 Different systems/programs have separate copies of the same data
 Same data is held by different programs.
 Wasted space and potentially different values and/or different formats for
the same item.
 Limited Data Sharing
 No centralized control of data
 Programs are written in different languages, and so cannot easily access
each other’s files.
Chapter 1
Disadvantages of File Processing
 Lengthy Development Times
 Programmers must design their own file formats
 Excessive Program Maintenance
 80% of of information systems budget
 Vulnerable to Inconsistency
 Change in one table need changes in corresponding tables as well
otherwise data will be inconsistent
21
Chapter 1
Problems with Data Dependency
 Each application programmer must maintain their
own data
 Each application program needs to include code
for the metadata of each file
 Each application program must have its own
processing routines for reading, inserting, updating
and deleting data
 Lack of coordination and central control
 Non-standard file formats
Chapter 1
Problems with Data Redundancy
 Waste of space to have duplicate data
 Causes more maintenance headaches
 The biggest problem:
 When data changes in one file, could cause
inconsistencies (Vulnerable to Inconsistency)
 Compromises data integrity (data reliability)
Chapter 1
SOLUTION:
The DATABASE Approach
 Central repository of shared data
 Data is managed by a controlling agent
 Stored in a standardized, convenient form
This requires a
Database and Database Management System (DBMS)
Chapter 1 25
Advantages of Database Approach
Registration
Examination
Library
Applications
Library
Examination
Applications
Registration
Applications
Database
Management
System
University
Students
Database
- Data Sharing - Data Independence
- Controlled Redundancy - Better Data Integrity
Chapter 1
Database Management System
 A software system that is used to create, maintain,
and provide controlled access to users of a database
 (Database) application program: A computer program
that interacts with database by issuing an appropriate
request (SQL statement) to the DBMS
Chapter 1
Database Management System
DBMS manages data resources like an operating system manages hardware resources
Chapter 1
Chapter 1

More Related Content

Similar to DBMS Lec 1 & 2.ppt

1. Chapter One.pdf
1. Chapter One.pdf1. Chapter One.pdf
1. Chapter One.pdf
fikadumola
 
Database Systems
Database SystemsDatabase Systems
Database Systems
Usman Tariq
 
Module BookletUnitUnit17 Database Design Concepts.docx
Module BookletUnitUnit17 Database Design Concepts.docxModule BookletUnitUnit17 Database Design Concepts.docx
Module BookletUnitUnit17 Database Design Concepts.docx
gilpinleeanna
 
Database Design and Implementation
Database Design and ImplementationDatabase Design and Implementation
Database Design and Implementation
Christian Reina
 
Database & dbms
Database & dbmsDatabase & dbms
Database & dbms
Diana Diana
 
Ch 1 D B Environment
Ch 1  D B  EnvironmentCh 1  D B  Environment
Ch 1 D B Environment
guest8fdbdd
 
Database Systems
Database SystemsDatabase Systems
Database Systems
Usman Tariq
 
database ppt(2)
database ppt(2)database ppt(2)
database ppt(2)
EshetuGeletu2
 
Dbms
DbmsDbms
Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.ppt
ChSheraz3
 
Mis chapter 7 database systems
Mis chapter 7 database systemsMis chapter 7 database systems
Mis chapter 7 database systems
Filmon Habtemichael Tesfai
 
introduction of Database
introduction of Databaseintroduction of Database
introduction of Database
Nilt1234
 
Database Management System 1
Database Management System 1Database Management System 1
Database Management System 1
Prof. Erwin Globio
 
DBMS NOTES UNIT I FINAL.docx was prasented
DBMS NOTES UNIT I FINAL.docx was prasentedDBMS NOTES UNIT I FINAL.docx was prasented
DBMS NOTES UNIT I FINAL.docx was prasented
rajitha ellandula
 
DBMS NOTES UNIT I FINAL.docx used for preparation
DBMS NOTES UNIT I FINAL.docx used for preparationDBMS NOTES UNIT I FINAL.docx used for preparation
DBMS NOTES UNIT I FINAL.docx used for preparation
rajitha ellandula
 
Database management system
Database management systemDatabase management system
Database management system
RizwanHafeez
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
RituBhargava7
 
ms-11.pdf
ms-11.pdfms-11.pdf
ms-11.pdf
NikitaKumari71
 
DB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptxDB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptx
harissheraz12345
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
Daniel Francisco Tamayo
 

Similar to DBMS Lec 1 & 2.ppt (20)

1. Chapter One.pdf
1. Chapter One.pdf1. Chapter One.pdf
1. Chapter One.pdf
 
Database Systems
Database SystemsDatabase Systems
Database Systems
 
Module BookletUnitUnit17 Database Design Concepts.docx
Module BookletUnitUnit17 Database Design Concepts.docxModule BookletUnitUnit17 Database Design Concepts.docx
Module BookletUnitUnit17 Database Design Concepts.docx
 
Database Design and Implementation
Database Design and ImplementationDatabase Design and Implementation
Database Design and Implementation
 
Database & dbms
Database & dbmsDatabase & dbms
Database & dbms
 
Ch 1 D B Environment
Ch 1  D B  EnvironmentCh 1  D B  Environment
Ch 1 D B Environment
 
Database Systems
Database SystemsDatabase Systems
Database Systems
 
database ppt(2)
database ppt(2)database ppt(2)
database ppt(2)
 
Dbms
DbmsDbms
Dbms
 
Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.ppt
 
Mis chapter 7 database systems
Mis chapter 7 database systemsMis chapter 7 database systems
Mis chapter 7 database systems
 
introduction of Database
introduction of Databaseintroduction of Database
introduction of Database
 
Database Management System 1
Database Management System 1Database Management System 1
Database Management System 1
 
DBMS NOTES UNIT I FINAL.docx was prasented
DBMS NOTES UNIT I FINAL.docx was prasentedDBMS NOTES UNIT I FINAL.docx was prasented
DBMS NOTES UNIT I FINAL.docx was prasented
 
DBMS NOTES UNIT I FINAL.docx used for preparation
DBMS NOTES UNIT I FINAL.docx used for preparationDBMS NOTES UNIT I FINAL.docx used for preparation
DBMS NOTES UNIT I FINAL.docx used for preparation
 
Database management system
Database management systemDatabase management system
Database management system
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
 
ms-11.pdf
ms-11.pdfms-11.pdf
ms-11.pdf
 
DB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptxDB_Lec_1 and 2.pptx
DB_Lec_1 and 2.pptx
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
 

Recently uploaded

Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
aymanquadri279
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise EditionWhy Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Envertis Software Solutions
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Undress Baby
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
Yara Milbes
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 

Recently uploaded (20)

Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
What is Master Data Management by PiLog Group
What is Master Data Management by PiLog GroupWhat is Master Data Management by PiLog Group
What is Master Data Management by PiLog Group
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise EditionWhy Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 

DBMS Lec 1 & 2.ppt

  • 1. Chapter 1 1 Lecture # 1 &2 Chapter # 1 Databases and Database Users Database Systems
  • 2. Chapter 1 2 Book Fundamentals of DATABASE SYSTEMS 5th Edition by Ramez Elmasri, Shamkant B. Navathe
  • 3. Chapter 1 3 Why this text is selected? Covers principles from other courses, such as  System Analysis and Design  Networking  Website Design and Development  MIS Principles  Computer Programming
  • 4. Chapter 1 4 Course Objectives  Introduction to very basics  Guides through different design stages  Familiarize with tools  Emphasis on design stages of database
  • 5. Chapter 1 Lecture 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).
  • 6. Chapter 1 6 Lecture 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.
  • 7. Chapter 1 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
  • 8. Chapter 1 Definitions of Database  Def 1: Database is an organized collection of logically related data  Def 2: A database is a shared collection of logically related data that is stored to meet the requirements of different users of an organization  Def 3: A database is a self-describing collection of integrated records  Def 4: A database models a particular real world system in the computer in the form of data
  • 9. Chapter 1 9 Definitions  Data: stored representations of meaningful objects and events or  Referred to facts concerning objects and events that could be recorded and stored on computer media  Structured: numbers, text, dates  Unstructured: images, video, documents  Information: data processed to increase knowledge in the person using the data  Metadata: data that describes the properties and context of user data
  • 10. Chapter 1 10 What is a 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.
  • 11. Chapter 1 Figure 1-1a Data in Context Context helps users understand data
  • 12. Chapter 1 Graphical displays turn data into useful information that managers can use for decision making and interpretation
  • 13. Chapter 1 Descriptions of the properties or characteristics of the data, including data types, field sizes, allowable values, and data context
  • 14. Chapter 1 14 The concept of a shared organizational database Accounting Accounts Payable Accounts Receivable Management Control Planning Manufacturing Production Scheduling Marketing Product Development Sales Corporate Database
  • 15. Chapter 1 15 A bit of History  Computer initially used for computational/ engineering purposes  Commercial applications introduced File Processing System
  • 16. Chapter 1 16 File Processing System  A collection of application programs that perform services for the end-users such as production of reports  Each program defines and manages its own data
  • 18. Chapter 1 18 Fine Books Issued Father Name Name Reg_Number Library Grade Semester Class Address Name Reg_Number Examination Class Address Phone Father Name Name Reg_Number Registration File Processing Systems
  • 19. Chapter 1 Files Based Processing
  • 20. Chapter 1 Disadvantages of File Processing  Program-Data Dependence  File structure is defined in the program code.  All programs maintain metadata for each file they use  Duplication of Data (Data Redundancy)  Different systems/programs have separate copies of the same data  Same data is held by different programs.  Wasted space and potentially different values and/or different formats for the same item.  Limited Data Sharing  No centralized control of data  Programs are written in different languages, and so cannot easily access each other’s files.
  • 21. Chapter 1 Disadvantages of File Processing  Lengthy Development Times  Programmers must design their own file formats  Excessive Program Maintenance  80% of of information systems budget  Vulnerable to Inconsistency  Change in one table need changes in corresponding tables as well otherwise data will be inconsistent 21
  • 22. Chapter 1 Problems with Data Dependency  Each application programmer must maintain their own data  Each application program needs to include code for the metadata of each file  Each application program must have its own processing routines for reading, inserting, updating and deleting data  Lack of coordination and central control  Non-standard file formats
  • 23. Chapter 1 Problems with Data Redundancy  Waste of space to have duplicate data  Causes more maintenance headaches  The biggest problem:  When data changes in one file, could cause inconsistencies (Vulnerable to Inconsistency)  Compromises data integrity (data reliability)
  • 24. Chapter 1 SOLUTION: The DATABASE Approach  Central repository of shared data  Data is managed by a controlling agent  Stored in a standardized, convenient form This requires a Database and Database Management System (DBMS)
  • 25. Chapter 1 25 Advantages of Database Approach Registration Examination Library Applications Library Examination Applications Registration Applications Database Management System University Students Database - Data Sharing - Data Independence - Controlled Redundancy - Better Data Integrity
  • 26. Chapter 1 Database Management System  A software system that is used to create, maintain, and provide controlled access to users of a database  (Database) application program: A computer program that interacts with database by issuing an appropriate request (SQL statement) to the DBMS
  • 27. Chapter 1 Database Management System DBMS manages data resources like an operating system manages hardware resources