W1. Introduction To Database
W1. Introduction To Database
W1. Introduction To Database
Introduction to Database
Dr. Abdul Ahad
• Duplication of data
– Same data is held by different programs.
– Wasted space and potentially different values and/or different
formats for the same item.
Limitations of File-Based Approach
• Data dependence
– File structure is defined in the program code.
– For example, increasing the size of the field.
• Result:
– the database and Database Management System (DBMS).
Database
• Shared collection of logically related data (and a description of this data),
designed to meet the information needs of an organization.
• Application Programmers
Once the database has been implemented, the application programs that
provide the required functionality for the end-users must be implemented.
Roles in the Database Environment
• End Users (naive and sophisticated)
The end-users are the ‘clients’ for the database. Naïve users are typically
unaware of the DBMS while the sophisticated end-user is familiar with the
structure of the database
History of DBMS
• First-generation
– Hierarchical and Network
• Second generation
– Relational
• Third generation
– Object-Relational
– Object-Oriented
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
• Economy of scale
• Improved data accessibility and responsiveness
• Increased productivity
• Improved maintenance through data independence
• Increased concurrency
• Improved backup and recovery services
Disadvantages of DBMSs
• Complexity
• Size
• Cost of DBMS
• Additional hardware costs
• Cost of conversion
• Performance
• Higher impact of a failure
Functions of a DBMS
• Data Storage, Retrieval, and Update.
• A User-Accessible Catalogue.
• Transaction Support.
• Concurrency Control Services.
• Recovery Services.
• Authorization Services.
• Support for Data Communication.
• Integrity Services.
• Services to Promote Data Independence.
• Utility Services.