Dbms Module1-Part2
Dbms Module1-Part2
OF DATABASE
LANGUAGES &
ARCHITECTURES
(Part-2)
A data model-a collection of concepts that can be used to
describe the structure of a database to provide abstraction.
By structure of a database, we mean the data types, relationships,
and constraints that should hold for the data.
DATA Categories of Data Models:
MODELS, High-level or conceptual data models:
SCHEMAS, use concepts such as entities, attributes, and relationships.(ER
model)
AND Low-level or physical data models:
INSTANCES Provide concepts that describe the details of how data is stored in
the computer. Record formats, access paths(indexing, hashing)
Representational (or implementation) data models:
capacity to change the internal schema without having to change the conceptual schema.
DBMS Languages:
Data Definition language (DDL)
Forms-Based Interfaces
• The DDL compiler processes schema definitions, specified in the DDL, and stores descriptions of the schemas (meta-data) in the
DBMS catalog.
runtime database processor handles database accesses at runtime; it receives retrieval or update operations and carries them
out on the database.
The precompiler extracts DML commands from an application program written in a host programming language. rest of the
program is sent to the host language compiler.
The object codes for the DML commands and the rest of the program are linked, forming a canned transaction whose executable
Database System Utilities
Loading: used to load existing data files-such as text files or sequential files-into
the database.
Backup: creates a backup copy of the database, usually by dumping the entire
database onto tape.
Other utilities
Tools, Application Environments, and Communications Facilities
• Communication networks are often local area networks (LANs), but they
can also be other types of networks.