Chap 2 (Database System Concepts and Architecture) Flashcards
(86 cards)
A set of concepts to describe the structure of a database, the operations for manipulating these structures, and certain constraints that the database should obey.
Data Model
are used to define the database structure
Constructs
Constructs typically include
elements (and their data types)
groups of elements (e.g. entity, record, table)
relationships among such groups
specify some restrictions on valid data; these constraints must be enforced at all times
Constraints
These operations are used for specifying database retrievals and updates by referring to the constructs of the data model.
Data Model Operations
Operations on the data model may include
basic model operations (e.g. generic insert, delete, update)
user-defined operations (e.g. compute_student_gpa, update_inventory)
Provide concepts that are close to the way many users perceive data.
Conceptual (high-level, semantic) data models
Conceptual (high-level, semantic) data models are also called
entity-based or object-based data models
Provide concepts that describe details of how data is stored in the computer. These are usually specified in an ad-hoc manner through DBMS design and administration manuals
Physical (low-level, internal) data models
Provide concepts that fall between conceptual and physical data models, used by many commercial DBMS implementations (e.g. relational data models used in many commercial systems).
Implementation (representational) data models
Combine the description of data with the data values. Examples include XML, key-value stores and some NOSQL systems.
Self-Describing Data Models
The description of a database.
Database Schema
Database schema includes
descriptions of the database structure, data types, and the constraints on the database.
An illustrative display of (most aspects of) a database schema.
Schema Diagram
A component of the schema or an object within the schema, e.g., STUDENT, COURSE.
Schema Construct
The actual data stored in a database at a particular moment in time. This includes the collection of all the data in the database.
Database State
Database State also called
Database Instance (or Occurrence/Snapshot)
The term _____ is also applied to individual database components in database state
instance (e.g record instance, table instance, etc)
Refers to the database state when it is initially loaded into the system.
Initial Database State
A state that satisfies the structure and constraints of the database.
Valid State
The _______ changes very infrequently
database schema
The ______ changes every time the database is updated.
database state
Schema is also called
Intension
State is also called
extension