Presentation DBMS 1
Presentation DBMS 1
(Database Management
And System)
Presented By:
Mamta Bajgotra
Database System Environment
• A DBMS is a complex software system . We will discuss the type of
software components that constitute a DBMS and the type of
computer system with which the DBMS interacts
DBMS Component Modules
• The figure is divided into two parts.
a) The top part of the figure refers to the various users of the database
environment and their interfaces.
b) The lower parts shows the internals of the DBMS responsible for
storage of data and processing of function.
c) The database and the DBMS catalog are usually stored on disk.
Access to the disk is controlled primarily by operating system(OS).
d) Stored data manager modules of the DBMS controls access to DBMS
information that is stored on disk. Show on( fig 2.3):
• Let us consider the top part :
• The DBA staff works on defining the database and tuning it by making changes to its
definition using the DDL and other privileged command
• The DDL compiler processes schema definitions, specified in the DDL, and stores
descriptions of the schemas (meta-data) in the DBMS catalog.
• The catalog includes information such as the names and sizes of files, names and data
types of data items, storage details of each file, mapping information among schemas,
and constraints.
• Casual users and persons with occasional need for information from the database
interact using some form of interface, which we call the interactive query interface
• query compiler that compiles them into an internal form. This internal query is
subjected to query optimization
•
Application programmers write programs in host languages such as Java, C, or
C++ that are submitted to a precompiler
In the lower part :
• It works with the system catalog and may update it with statistics. It also
works with the stored data manager, which in turn uses basic operating
system services for carrying out low-level input/output (read/write)
operations between the disk and main memory.