Chapter 2 Flashcards
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
Constructs are used to define the database ______
structure
_________ typically include elements (and their data
types) as well as groups of elements (e.g. entity, record,
table), and relationships among such groups.
constructs
T/F: Constraints specify some restrictions on valid data; these
constraints must be enforced at all times.
true
Operations on the data model may include basic
model operations (e.g. generic insert, delete,
update) and __________ operations (e.g.
compute_student_gpa, update_inventory)
user-defined
T/F: Data model operations are used for specifying database retrievals and updates by referring to the
constructs of the data model.
true
Name 4 Categories of Data Models
- Conceptual (high-level, semantic)
- Physical (low-level, internal)
- Implementation (representational)
- Self-Describing
_____________ data models are also called entity-based or object-based data models.
conceptual (high-level, semantic)
___________ data models provide concepts that are close to the way many users perceive
data.
conceptual (high-level, semantic)
__________ data models provide concepts that describe details of how data is stored in the computer. 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 the high-level and low-level data models, used by many commercial DBMS implementations (e.g. relational data models
used in many commercial systems)
Implementation (representational) data models
___________ data models combine the description of data with the data values. Examples
include XML, key-value stores and some NOSQL systems
self-descibing
___________ is the description of a database. It includes descriptions of the database structure, data types, and the constraints on the database.
Database Schema
_________ is an illustrative display of (most aspects of) a database schema.
Schema Diagram
_____________ is a component of the schema or an object within the schema, e.g., STUDENT, COURSE.
Schema Construct
___________ is 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
________ is also called database instance (or occurrence or snapshot).
Database State
T/F: Valid state refers to the content of a database at a moment in time.
false, database state not valid state.
___________ is a state that satisfies the structure and constraints of the database.
valid state
__________ refers to the database state when it is initially loaded into the system.
Initial Database State
T/F: The database schema changes every time the
database is updated.
false, database state not the database schema.
the database schema changes VERY INFREQUENTLY.
________ is also called intension.
Schema
_______ is also called extension.
State
___________ is proposed to support DBMS characteristics of Program-data independence, Support of multiple views of the data, and self-describing nature of DB system. (Not explicitly used in commercial DBMS products,
but has been useful in explaining database
system organization.)
Three-Schema Architecture
Three-Schema Architecture defines DBMS schemas at three levels: ________ schemas, _________ schemas , and ________ schemas.
internal, conceptual, external.
________ schemas are at the external level to describe the various user views. It usually uses the same data model as the conceptual schema.
external
The conceptual schema uses a conceptual or an __________ data model.
implementation
__________ schemas are at the internal level to describe physical storage structures and access paths (e.g indexes). It typically uses a physical data model.
internal
__________ among schema levels are needed to
transform requests and data.
Mappings
T/F: In mappings among schema levels, programs refer to an external schema, and are mapped by the DBMS to the internal schema for
execution.
true.