Chapter 2 Database System Concepts and Architecture


Schemas, Instances, and Database State



Download 20.76 Kb.
Page2/4
Date23.12.2022
Size20.76 Kb.
#60211
1   2   3   4
Chapter 2
Financial Institutions Management Chap012
Schemas, Instances, and Database State
we distinguish description of the database from the database itself.

  • The description of a database is called database schema, which is specified during database design and does not change very often. A schema diagram is often used to represent for displaying the schemas. (Fig 2.1)

  • The data in the database at a particular moment in time is called a database state or snapshot. A database state (also called instances) changes every time data is inserted, deleted, or modified.

The distinction between database schema and database state is that when we define a new database, we specify the database schema only to the DBMS (the current state of the database is the empty state with no data). We get the initial state of the database when the database is first populated or loaded with the initial data. The schema is sometimes called the intension , and a database state an extension of the schema
DBMS Architecture and Data Independence
The three-schema architecture separates the user applications and the physical database.

  1. The internal level has an internal schema that describes the physical storage structure of the database.

  2. The conceptual level has a conceptual scheme is a high-level description of the whole database. The conceptual schema hides the details of physical storage structures and concentrates on describing entities, data types, relationships, user operations and constraints.

  3. The external or view level include a number of external schemas or user views that describe the view of different user groups.



Proposed to support DBMS characteristics of:

  • Program-data independence.

  • Support of multiple views of the data.




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