DBMS I.P
DBMS I.P
P NOTES
DATABASE CONCEPTS
•DBMS:
DBMS stands for Database Management System. We can break it like
this DBMS = Database + Management System. Database is a
collection of data and Management System is a set of programs to
store and retrieve those data. Based on this we can define DBMS like
this: DBMS is a collection of inter-related data and set of programs to
store & access those data in an easy and effective manner.
•Application of DBMS:
Applications where we use Database Management Systems are:
Telecom: There is a database to keeps track of the information
regarding calls made, network usage, customer details etc. Without
the database systems it is hard to maintain that huge amount of data
that keeps updating every millisecond.
Industry: Where it is a manufacturing unit, warehouse or distribution
centre, each one needs a database to keep the records of ins and
outs. For example, distribution centre should keep a track of the
product units that supplied into the centre as well as the products
that got delivered out from the distribution centre on each day; this
is where DBMS comes into picture.
Banking System: For storing customer info, tracking day to day credit
and debit transactions, generating bank statements etc. All this work
has been done with the help of Database management systems.
Sales: To store customer information, production information and
invoice details.
Airlines: To travel though airlines, we make early reservations, this
reservation information along with flight schedule is stored in
database.
Education sector: Database systems are frequently used in schools
and colleges to store and retrieve the data regarding student details,
staff details, course details, exam details, payroll data, attendance
details, fees detail etc. There is a hell lot amount of inter-related data
that needs to be stored and retrieved in an efficient manner.
Online shopping: You must be aware of the online shopping websites
such as Amazon, Flipkart etc. These sites store the product
information, your addresses and preferences, credit details and
provide you the relevant list of products based on your query. All this
involves a Database management system.
• Data Abstraction:
Database systems are made-up of complex data structures. To ease
the user interaction with database, the developers hide internal
irrelevant details from users. This process of hiding irrelevant details
from user is called data abstraction.
We have three levels of abstraction:
Physical level: This is the lowest level of data abstraction. It describes
how data is actually stored in database. You can get the complex
data structure details at this level.
Logical level: This is the middle level of 3-level data abstraction
architecture. It describes what data is stored in database.
View level: Highest level of data abstraction. This level describes the
user interaction with database system.
Example: Let’s say we are storing customer information in a
customer table. At physical level these records can be described as
blocks of storage (bytes, gigabytes, terabytes etc.) in memory. These
details are often hidden from the programmers.
At the logical level these records can be described as fields and
attributes along with their data types, their relationship among each
other can be logically implemented. The programmers generally
work at this level because they are aware of such things about
database systems.
At view level, user just interact with system with the help of GUI and
enter the details at the screen, they are not aware of how the data is
stored and what data is stored; such details are hidden from them.