SlideShare a Scribd company logo
DATABASE
SYSTEMS
WEEK 1 LECTURE 1 & 2
AYESHA NASIR
Course Objectives
 Introduction to very basics
 Guides through different design stages
 Familiarize with tools
 Emphasis on design stages of database
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).
 Typical functions of a DBMS.
 Major components of the DBMS environment.
 Personnel involved in the DBMS environment.
Textbook
 Recommended
textbooks:
 Database Systems: A
practical approach to
design, implementation
and management by
Connolly and Begg
 Fundamentals of
Database Systems (7th
Edition) by Ramez
Elmasri, Shamkant B.
Navathe
Other textbooks:
 There are lots of
database texts
 Most of them would be
fine also
For example:
 ‘Database Systems’ by CJ
Date
Data vs. Information
 Data are simply facts or figures — bits of information, but
not information itself.
 When data are processed, interpreted, organized, structured or
presented so as to make them meaningful or useful, they are
called information. Information provides context for data.
Graphical displays turn data into useful information that
managers can use for decision making and interpretation
Data vs. Information
Data vs. Information
Traditional File Systems
 File processing systems was an early attempt to computerize the
manual filing system that we are all familiar with.
 A file system is a method for storing and organizing computer files
and the data they contain to make it easy to find and access them.
 File systems may use a storage device such as a hard disk or CD-
ROM and involve maintaining the physical location of the files.
Traditional File Systems
 The manual filing system works well when the number of items to be
stored is small.
 It even works quite adequately when there are large numbers of items
and we have only to store and retrieve them.
 However, the manual filing system breaks down when we have to
cross-reference or process the information in the files.
Characteristics of File Processing
System
 It is a group of files storing data of an organization.
 Each file is independent from one another.
 Each file is called a flat file.
 Each file contained and processed information for one specific function, such as
accounting or inventory.
 Files are designed by using programs written in programming languages such as
C, C++.
 As systems became more complex, file processing systems offered little flexibility,
presented many limitations, and were difficult to maintain.
DATABASE SYSTEMS VS ROUTINE FILE SYSTEMS
Problems With the File System
 Separated and Isolated Data: To make a decision, a user might
need data from two separate files. First, the files were evaluated by
analysts and programmers to determine the specific data required
from each file and the relationships between the data and then
applications could be written in a programming language to process
and extract the needed data. Imagine the work involved if data from
several files was needed.
Problems With the File System
 Duplication of data: Often the same information is stored in more
than one file. Uncontrolled duplication of data is not required for
several reasons, such as:
 Duplication is wasteful. It costs time and money to enter the data
more than once
 It takes up additional storage space, again with associated costs.
Problems With the File System
 Incompatible file formats: As the structure of files is embedded in
the application programs, the structures are dependent on the
application programming language. For example, the structure of a
file generated by a COBOL program may be different from the
structure of a file generated by a 'C' program. The direct
incompatibility of such files makes them difficult to process jointly.
File Based Systems (Summary)
 File based systems
 Data is stored in files
 Each file has a specific
format
 Programs that use
these files depend on
knowledge about that
format
 Problems:
 No standards
 Data duplication
 Data dependence
 No way to generate ad
hoc queries
 No provision for
security, recovery,
concurrency, etc.
Why Study Databases?
 Databases are useful
 Many computing applications deal with large amounts of
information
 Database systems give a set of tools for storing, searching
and managing this information
What is a Database?
 “A set of information held in a computer”
Oxford English Dictionary
 “One or more large structured sets of persistent data, usually
associated with software to update and query the data”
Free On-Line Dictionary of Computing
 “A collection of data arranged for ease and speed of search and
retrieval”
Dictionary.com
Databases
 Library catalogues
 Medical records
 Bank accounts
 Stock control
 Personnel systems
 Product catalogues
 Telephone directories
 Train timetables
 Airline bookings
 Credit card details
 Student records
 Customer histories
 Stock market prices
 Discussion boards
 and so on…
Database Systems
 A database system
consists of
 Data (the database)
 Software
 Hardware
 Users
 We focus mainly on
the software
 Database systems
allow users to
 Store
 Update
 Retrieve
 Organise
 Protect
their data.
DATABASE SYSTEMS VS ROUTINE FILE SYSTEMS
Database Users
 End users
 Use the database
system to achieve
some goal
 Application developers
 Write software to allow
end users to interface
with the database
system
 Database
Administrator (DBA)
 Designs & manages
the database system
 Database systems
programmer
 Writes the database
software itself
Database Management
Systems
 A database is a
collection of
information
 A database
management system
(DBMS) is the
software which
controls that
information
 Examples:
 Oracle
 DB2 (IBM)
 MS SQL Server
 MS Access
 Ingres
 PostgreSQL
 MySQL
What the DBMS does
 Provides users with
 Data definition
language (DDL)
 Data manipulation
language (DML)
 Data control language
(DCL)
 Often these are all the
same language
 DBMS provides
 Persistence
 Concurrency
 Integrity
 Security
 Data independence
 Data Dictionary
 Describes the
database itself
Data Dictionary - Metadata
 The dictionary or
catalogue stores
information about the
database itself
 This is data about data
or ‘metadata’
 Almost every aspect of
the DBMS uses the
dictionary
 The dictionary holds
 Descriptions of
database objects
(tables, users, rules,
views, indexes,…)
 Information about who
is using which data
(locks)
 Schemas and
mappings
Relational Systems
 Information is stored
as tuples or records in
relations or tables
 There is a sound
mathematical theory of
relations
 Most modern DBMS
are based on the
relational model
 The relational model
covers 3 areas:
 Data structure
 Data integrity
 Data manipulation
 More details in the
next lecture…
Next Lecture
 Database Management System in detail
 Importance of database design.
 Database system basic structures.

More Related Content

PPTX
Presentation and architecture FDBMS Unit-1.pptx
PPTX
Dbms mca-section a
PPTX
PPTX
Data base management system
PPT
D I T211 Chapter 1 1
PPT
D I T211 Chapter 1
PPTX
File system vs database
PPTX
Database_Mgt_Accounting_Students_Ghana11
Presentation and architecture FDBMS Unit-1.pptx
Dbms mca-section a
Data base management system
D I T211 Chapter 1 1
D I T211 Chapter 1
File system vs database
Database_Mgt_Accounting_Students_Ghana11

Similar to DATABASE SYSTEMS VS ROUTINE FILE SYSTEMS (20)

PPTX
Introductionaaaaaaaaaaaaaaaaaaaaaaa.pptx
DOCX
Database management system
PPTX
Introduction to databases
PPTX
File systems versus a dbms
DOCX
Database Management System Unit 1 Full Chapter.docx
PPTX
1588332331-lecture-1-database-systems-overview.pptx
DOCX
DBMS PART 1.docx
PDF
Ch-1-Introduction-to-Database.pdf
PPT
27 fcs157al2
PDF
database introductoin optimization1-app6891.pdf
PPTX
Introduction to Database
PPTX
1588332331-lecture-1-database-systems-overview.pptx
PPTX
Database Management and it is definition
PPTX
INTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptx
PDF
Database Design and Implementation
PPTX
A critique on traditional file system vs databases
PPTX
Database Management System, Lecture-1
PPTX
Basic of Database Management System(DBMS)
PPTX
DATABASE INTRODUCTION
PDF
Comprehensive Guide to Effective Introduction to Database Systems Principles
Introductionaaaaaaaaaaaaaaaaaaaaaaa.pptx
Database management system
Introduction to databases
File systems versus a dbms
Database Management System Unit 1 Full Chapter.docx
1588332331-lecture-1-database-systems-overview.pptx
DBMS PART 1.docx
Ch-1-Introduction-to-Database.pdf
27 fcs157al2
database introductoin optimization1-app6891.pdf
Introduction to Database
1588332331-lecture-1-database-systems-overview.pptx
Database Management and it is definition
INTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptx
Database Design and Implementation
A critique on traditional file system vs databases
Database Management System, Lecture-1
Basic of Database Management System(DBMS)
DATABASE INTRODUCTION
Comprehensive Guide to Effective Introduction to Database Systems Principles
Ad

Recently uploaded (20)

PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Geodesy 1.pptx...............................................
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Digital Logic Computer Design lecture notes
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Well-logging-methods_new................
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Geodesy 1.pptx...............................................
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Digital Logic Computer Design lecture notes
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
R24 SURVEYING LAB MANUAL for civil enggi
Mechanical Engineering MATERIALS Selection
Internet of Things (IOT) - A guide to understanding
UNIT-1 - COAL BASED THERMAL POWER PLANTS
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
bas. eng. economics group 4 presentation 1.pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Well-logging-methods_new................
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Ad

DATABASE SYSTEMS VS ROUTINE FILE SYSTEMS

  • 1. DATABASE SYSTEMS WEEK 1 LECTURE 1 & 2 AYESHA NASIR
  • 2. Course Objectives  Introduction to very basics  Guides through different design stages  Familiarize with tools  Emphasis on design stages of database
  • 3. 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).  Typical functions of a DBMS.  Major components of the DBMS environment.  Personnel involved in the DBMS environment.
  • 4. Textbook  Recommended textbooks:  Database Systems: A practical approach to design, implementation and management by Connolly and Begg  Fundamentals of Database Systems (7th Edition) by Ramez Elmasri, Shamkant B. Navathe Other textbooks:  There are lots of database texts  Most of them would be fine also For example:  ‘Database Systems’ by CJ Date
  • 5. Data vs. Information  Data are simply facts or figures — bits of information, but not information itself.  When data are processed, interpreted, organized, structured or presented so as to make them meaningful or useful, they are called information. Information provides context for data.
  • 6. Graphical displays turn data into useful information that managers can use for decision making and interpretation
  • 9. Traditional File Systems  File processing systems was an early attempt to computerize the manual filing system that we are all familiar with.  A file system is a method for storing and organizing computer files and the data they contain to make it easy to find and access them.  File systems may use a storage device such as a hard disk or CD- ROM and involve maintaining the physical location of the files.
  • 10. Traditional File Systems  The manual filing system works well when the number of items to be stored is small.  It even works quite adequately when there are large numbers of items and we have only to store and retrieve them.  However, the manual filing system breaks down when we have to cross-reference or process the information in the files.
  • 11. Characteristics of File Processing System  It is a group of files storing data of an organization.  Each file is independent from one another.  Each file is called a flat file.  Each file contained and processed information for one specific function, such as accounting or inventory.  Files are designed by using programs written in programming languages such as C, C++.  As systems became more complex, file processing systems offered little flexibility, presented many limitations, and were difficult to maintain.
  • 13. Problems With the File System  Separated and Isolated Data: To make a decision, a user might need data from two separate files. First, the files were evaluated by analysts and programmers to determine the specific data required from each file and the relationships between the data and then applications could be written in a programming language to process and extract the needed data. Imagine the work involved if data from several files was needed.
  • 14. Problems With the File System  Duplication of data: Often the same information is stored in more than one file. Uncontrolled duplication of data is not required for several reasons, such as:  Duplication is wasteful. It costs time and money to enter the data more than once  It takes up additional storage space, again with associated costs.
  • 15. Problems With the File System  Incompatible file formats: As the structure of files is embedded in the application programs, the structures are dependent on the application programming language. For example, the structure of a file generated by a COBOL program may be different from the structure of a file generated by a 'C' program. The direct incompatibility of such files makes them difficult to process jointly.
  • 16. File Based Systems (Summary)  File based systems  Data is stored in files  Each file has a specific format  Programs that use these files depend on knowledge about that format  Problems:  No standards  Data duplication  Data dependence  No way to generate ad hoc queries  No provision for security, recovery, concurrency, etc.
  • 17. Why Study Databases?  Databases are useful  Many computing applications deal with large amounts of information  Database systems give a set of tools for storing, searching and managing this information
  • 18. What is a Database?  “A set of information held in a computer” Oxford English Dictionary  “One or more large structured sets of persistent data, usually associated with software to update and query the data” Free On-Line Dictionary of Computing  “A collection of data arranged for ease and speed of search and retrieval” Dictionary.com
  • 19. Databases  Library catalogues  Medical records  Bank accounts  Stock control  Personnel systems  Product catalogues  Telephone directories  Train timetables  Airline bookings  Credit card details  Student records  Customer histories  Stock market prices  Discussion boards  and so on…
  • 20. Database Systems  A database system consists of  Data (the database)  Software  Hardware  Users  We focus mainly on the software  Database systems allow users to  Store  Update  Retrieve  Organise  Protect their data.
  • 22. Database Users  End users  Use the database system to achieve some goal  Application developers  Write software to allow end users to interface with the database system  Database Administrator (DBA)  Designs & manages the database system  Database systems programmer  Writes the database software itself
  • 23. Database Management Systems  A database is a collection of information  A database management system (DBMS) is the software which controls that information  Examples:  Oracle  DB2 (IBM)  MS SQL Server  MS Access  Ingres  PostgreSQL  MySQL
  • 24. What the DBMS does  Provides users with  Data definition language (DDL)  Data manipulation language (DML)  Data control language (DCL)  Often these are all the same language  DBMS provides  Persistence  Concurrency  Integrity  Security  Data independence  Data Dictionary  Describes the database itself
  • 25. Data Dictionary - Metadata  The dictionary or catalogue stores information about the database itself  This is data about data or ‘metadata’  Almost every aspect of the DBMS uses the dictionary  The dictionary holds  Descriptions of database objects (tables, users, rules, views, indexes,…)  Information about who is using which data (locks)  Schemas and mappings
  • 26. Relational Systems  Information is stored as tuples or records in relations or tables  There is a sound mathematical theory of relations  Most modern DBMS are based on the relational model  The relational model covers 3 areas:  Data structure  Data integrity  Data manipulation  More details in the next lecture…
  • 27. Next Lecture  Database Management System in detail  Importance of database design.  Database system basic structures.