Chapter 2 Database System Concepts and Architecture


Defines DBMS schemas at three levels



Download 20.76 Kb.
Page3/4
Date23.12.2022
Size20.76 Kb.
#60211
1   2   3   4
Chapter 2
Financial Institutions Management Chap012
Defines DBMS schemas at three levels :
- Internal schema at the internal level to describe data storage structures and access paths. Typically uses a physical data model.
- Conceptual schema at the conceptual level to describe the structure and constraints for the whole database. Uses a conceptual or an implementation data model.
- External schemas at the external level to describe the various user views. Usually uses the same data model as the conceptual level.
Mappings among schema levels are also needed. Programs refer to an external schema, and are mapped by the DBMS to the internal schema for execution.
Data Independence
One important characteristic of the database approach was the insulation of programs and data (see Chapter 1). We can define two types of data independence:

  1. logical data independence - the capacity to change the conceptual scheme without having to change external schemas or application programs.

  2. Physical data independence - the capacity to change the internal scheme without having to change the conceptual (or external) schemas. Changes to the internal schema may be needed because some physical files had to be reorganized.



Database Languages and Interfaces
DBMS Languages

  • A data definition language (DDL) is used to define the database conceptual schema. In most DBMSs, the DDL also defines user views and, sometimes, storage structures; in other DBMSs, separate languages -view definition language (VDL), storage definition language (SDL)- may exist for specifying views and storage structures.

  • A data manipulation language (DML) is used for specifying database retrievals and updates. DMLs can be high-level (set-oriented, nonprocedural) or low-level (record-oriented, procedural). A high-level DML can be embedded in a host programming language, or it can be used as a stand-alone query language.



DBMS Interfaces
User-friendly interfaces provided by a DBMS may include the following:

  • Menu-Based Interfaces for Browsing

  • Forms-Based Interfaces

  • Graphical User Interfaces (GUI)

  • Natural Language Interfaces

  • Interfaces for Parametric Users (Parametric users, such as bank tellers, often have a small set of operations that they must perform repeatedly.)

  • Interfaces for the DBA (Most database systems contain privileged commands that can be used only by the DMA's staff.)




Download 20.76 Kb.

Share with your friends:
1   2   3   4




The database is protected by copyright ©ininet.org 2024
send message

    Main page