DBMS Architecture: Kocbk Database Management System
DBMS Architecture: Kocbk Database Management System
DBMS Architecture: Kocbk Database Management System
KOCBK
Database Management System
Database Schema
• The description of a database.
• Includes descriptions of the database structure,
data types, and the constraints on the database.
• Schema Diagram:
– An illustrative display of (most aspects of) a
database schema.
Example of database Schema
Database Instance
• Also called database state.
• The actual data stored in a database at a particular
moment in time.
• This includes the collection of all the data in the
database.
• The term instance is also applied to individual
database components, e.g. record instance, table
instance, entity instance
Database instance
• Initial Database State:
– Refers to the database state when it is initially
loaded into the system.
• Valid State:
– A state that satisfies the structure and constraints
of the database.
Example of database state(instance)
Database schema Vs. Database state
– The database schema changes very infrequently.
– The database state changes every time the
database is updated.