Introduction To Database Management System
Introduction To Database Management System
Introduction To Database Management System
Management System
Data - unprocessed information
- raw facts/ figures.
Information- Processed Data.
Data is converted into information, and
information is converted into knowledge.
DBMS
Database Management System is a collection
of interrelated data and a set of programs to
access those data.
The examples of DBMS are MS-ACCESS,
ORACLE, SQL SERVER etc.
Goals of DBMS
4. Integrity problems
The data values stored in the database must satisfy certain
types of consistency constraints.
For eg:, the balance of a bank account may never fall below a
prescribed amount. Developers enforce these constraints in the
system by adding appropriate code in the various application
programs. However, when new constraints are added, it is
difficult to change the program to enforce them. The problem is
compounded when constraints involve several data items from
different files.
5. Atomicity problems
A computer is subject to failure. In many
applications , it is crucial that, once a failure occurs and
has been detected, the data are restored to the
consistent state that existed prior to the failure. For e.g.,
consider transferring of money from account A to B. If a
system failure occurs during the execution of a program,
it is possible that the money was removed from account
A but was not credited to account B, resulting in an
inconsistent database state. So the fund transfer must
be atomic that means it must happen in its entirety or
not at all.
6. Concurrent access anomalies.
VIEW LEVEL
View 2 . View
.
n
View 1
Conceptual schema
Conceptual level
Internal Schema
Internal Level
Database
Physical data organization
1. Internal or Physical level :