Professional Documents
Culture Documents
Database Management System DBMS
Database Management System DBMS
A DBMS is a collection of programs that are used to create and maintain a database.
It is a general-purpose system that provides following facilities:
i. It provides the facility to define the structure of database.
ii. It provides the facility to store data on a storage medium that is controlled by the DBMS.
iii. It provides the facility to insert, delete, update and retrieve specific data for reports.
2.1 Data Dictionary
DBMS provides different tools to maintain and retrieve data in the database.
File Maintenance and Retrieval (Continue)
3.1 Queries
Queries are used to retrieve the required data.
It is used to extract information from a database.
It is written in database access language.
It displays the retrieved data in the form of table.
For example:
Roll No Name Marks Grade The user executes a query to retrieve the records of the
1 Usman 730 A students who got more than 600 marks, the query will
2 Nadeem 662 B display the following table as a result.
3 Abdullah 685 B
4 Adnan 531 C Roll No Name Marks Grade
figure: students table 1 Usman 730 A
2 Nadeem 662 B
3 Abdullah 685 B
figure: Result of the query
3.2 Query Language
A query language provides simple statements (English-like and easy to use) to manipulate data in the
database.
It is very easy to learn without any programing background.
3.3 Query by Example
Query by example used to retrieve data from database without learning the query language.
3.4 Forms
It is a graphical interface used to interact with the database. Used to enter data in the database.
Data can be retrieved, changed, and updated by using forms.
A form that sends entered data across a network or the internet is called electronic form or e-form.
Advantages of forms:
1. Forms are easy to use and user-friendly
2. Forms use graphical interface that is attractive.
3. User can interact with database without technical knowledge.
3.4 Reports
Backup is a process of taking a copy of the data base to offline storage media.
Regular backup and its storage at secure location is very critical.
A log file (contains the current state of transactions and database changes to provide support for
recovery procedure) is also used to recover data.
4.2.5 Integrity
A process of encoding data by specific algorithm to make it unreadable by any program without any
decryption key.
When database contains sensitive data encryption becomes necessary.
Encryption protects data when transmitted over communication lines .