CH2 - Database system concepts and architecture Flashcards

1
Q

Data model

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

 Data model structure and constraints

A

constructs are used to define the database structure. They typically include elements (and their data types) as well as groups of elements (entity, record, table) and relationships among such groups. Constraints specify some restrictions on valid data ; these constraints must be enforced at all times.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

 Data model operations

A

used for specifying database retrievals and updates by referring to the constructs of the data model. Operations on the data model may include basic model operations (generic insert, delete, update) and user-defined operations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

 Conceptual (high-level, semantic) data models

A

provide concepts that are close to the way many users perceive data. It is also called entity-based or object-based data models

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

 Physical (low-level, internal) data models

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

 Implementation (representational) data models

A

provide concepts that fall between the above two, used by many commercial DBMS implementations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

 Self-describing data models

A

combine the description of data with the data values (XML, key-value stores and some NOSQL systems).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

 Database schema

A

the description of a database which includes descriptions of the database structure, data types and the constraints on the database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

 Schema diagram

A

an illustrative display of (most aspects of) a database schema

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

 Schema construct

A

a component of the schema or an object within the schema

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

 Database state

A

the actual data stored in a database at a particular moment in time. This includes the collection of all the data in the database. It is also called the database instance, occurrence or snapshot. It should be noted that the term instance is also applied to individual database components. Database state refers to the content of a database at a moment in time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

 Initial database state

A

refers to the database state when it is initially loaded into the system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

 Valid state

A

state that satisfies the structure and constraints of the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

 Three-schema architecture

A

proposed to support DBMS characteristics of program-data independence and support of multiple views of the data. It is not explicitly used in commercial DBMS products, but has been useful in explaining database system organization. The three-schema architecture defines DBMS schemas at three levels : internal, conceptual and external schemas

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  • Internal schema
A

at the internal level to describe physical storage structures and access paths (typically uses a physical data model)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  • Conceptual schema
A

at the conceptual level to describe the structure and constraints for the whole database for a community of users (uses a conceptual or an implementation data model)

17
Q
  • External schema
A

at the external level to describe the various user views (usually uses the same data model as the conceptual schema)

18
Q

 Logical data independence

A

the capacity to change the conceptual schema without having to change the external schemas and their associated application programs

19
Q

 Physical data independence

A

the capacity to change the internal schema without having to change the conceptual schema.

20
Q

 Data Definition Language (DDL)

A

used by the DBA and database designers to specify the conceptual schema of a database. In many DBMSs, the DDL is also used to define internal and external schemas (views). In some DBMSs, separate storage definition language (SDL) and view definition language (VDL) are used to define internal and external schemas.

21
Q

 Data Manipulation Language (DML)

A

used to specify database retrievals and updates. DML commands (data sublanguage) can be embedded in a general-purpose programming language (host language) such as COBOL, C, C++ or Java. A library of functions can also be provided to access the DBMS from a programming language. Alternatively, stand-alone DML commands can be applied directly (query language)