Professional Documents
Culture Documents
DBMS Unit-1
DBMS Unit-1
Here all the information shown above for this data is called metadata.
Data Dictionary
• It is an information repository which contains metadata.
RollNo. Name City Contact
1 Hitesh Dahod 123987
2 Devang Ahmedabad 456825
➢ Details about all the tables in the database, such as their owners,
their security constraints, when they were created etc.
➢ Physical information about the tables such as where they are stored.
Field Name Data Type Field Size for display Description Example
Data are row materials used to derive Information is a product derived from
information. data.
Database System Environment
• Database System Environment can be divide in to
3 parts.
1. User
I. Database Administrator
II. Database Designer
III. Application Programmers
IV. End Users
2. Software
3. Hardware
1. Hardware
• All the physical devices of a computer system are referred as
hardware.
• A computer system can have number of different hardware such as
processor, memory, hard disk, monitor, keyboard, mouse etc.
• From the database point of view hardware can be divided into 2
categories;
I. The processor and main memory
Supports the execution of the database software .
II. The secondary storage devices:
Used to store data of system permanently.
These includes hard disks, compact disks etc.
2. Software
• Software provides the interface between users and
database stored in physical devices.
• Application programs, DBMS software and OS together
generate the software component here.
• Application programs are developed using
programming languages like C, C++, Java and etc…
• These application programs use the functionalities of
the DBMS software to perform various operations on
the database.
• The OS (Operating System) manages all hardware of
the computer.
3. Users
• • Any person who communicate with the database is known as
Database User. There are 4 different database users.
I. Database administrator
✓ Has central control over the database system including data &
programs.
✓ DBA is responsible for proper functioning of the database
system.
DA is a manager or some senior level person in DBA is a technical person who have the
an organization who understands organizational knowledge of database technology.
requirements with respect to data.
DA does not need to be a technical person. DBA does not need to be a business person.
DA is a business focused person, but he/she DBA is a technically focused person, but he/she
should understand more about the database should understand more about the business to
technology. administrate the databases effectively.
Responsibility of DBA
1. Schema Definition – DBA defines the logical schema of the database. A Schema
refers to the overall logical structure of DB. According to this schema , database
will be developed to store required data for an organization.
2. Storage structure and access method definition – DBA decides how the data is
to be represented and on that basic how they are going to be access the data
with different methods.
3. Defining security and integrity constraints – DBA decides the security and
integrity constraints. DDL provides facilities to specifying such constraints.
4. Granting of authorization for data access – DBA decides which user needs
access to which part of the database. According to this , various types of
authorizations are granted for different users. This is required to prevent
unauthorized access of a database.
5. Backup and recovery- Database should not be lost or damaged. The task of DBA
is to backing up the database on magnetic tapes or remote servers. So incase of
failures such as flood or virus attack , Database is recovered from this backup.
Data Handling decades by decades
Paper Based System