Dbms Chap 01
Dbms Chap 01
Definition
• A database management system consists of a
collection of interrelated data and a set of
programs to access those data. The collection
of data, normally referred as the database,
contains information about one particular
organization.
• The primary goal of a DBMS is to provide an
environment that is both convenient and
efficient to use in retrieving and storing
database information.
FILE Processing SYSTEM AND DBMS
• Physical Level
• Logical Level
• View Level
Physical Level
OR
The ability to change the logical schema
without having to change the external
schema.
Examples
1. Relational Model
2. The Entity-Relationship Model
3. Object-Based Data Model
4. Semi-structured Data Model
Relational Model
The Entity-Relationship Model
Object-Based Data Model
In object-oriented programming (OOP), objects are the things you think about first in
designing a program and they are also the units of code that are eventually derived from
the process. In between, each object is made into a generic class of object and even more
generic classes are defined so that objects can share models and reuse the class definitions
in their code. Each object is an instance of a particular class or subclass with the class's own
methods or procedures and data variables. An object is what actually runs in the computer.
Like the ER Model, the object-oriented model is based on a collection of Objects. An object
contains values stored in instance variables within the objects. An object also contains
bodies of code that operate on the object. These bodies of code are called methods.
Objects that contains the same types of values and the same methods are grouped
together into classes. A class may be viewed as a type definition for objects.
Semi-structured Data Model
Database Users
• There are four different types of database
system users:
Naive Users.
Application Programmers.
Sophisticated Users.
Specialized Users.
Naïve Users
Application Programmers
Sophisticated Users
Specialized Users
DBA
(DataBase Administrator)
• One of the main reasons for using DBMSs is to
have central control of both the data and the
programs that access those data.
• The person who has such central control over
the system is called the database
administrator (DBA).
• The functions of the DBA include the
following:
Functions Of DBA
Schema Definition.
Storage and Access-Methods definition.
Schema and Physical-organization
modification.
Granting of authorization for Data Access.
Integrity-Constraint Specification.
Routine Maintenance.
Schema Definition.