Lecture 1 pt.2 Flashcards

(35 cards)

1
Q

A set of concepts to describe the structure of a database, the operations for manipulating these structures, and certain constraints that the database should obe

A

Data Model

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

Constructs define database structure.

Include elements (with data types) and groups (e.g., entity, record, table) with relationships.

Enforce data validity restrictions continuously.

A

Data Model Structure and Constraints

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

These operations are used for specifying database retrievals and updates by referring to the constructs of the data model

A

Data Model Operations

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

Categories of Data Models:

Provide concepts that are close to the way many users perceive data.

(Also called entity-based or object-based data models.)

A

Conceptual (high-level, semantic) data models

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

Categories of 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

A

Physical (low-level, internal) data models

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

Categories of Data Models:

Provide concepts that fall between physical and conceptual data models, used by many commercial DBMS implementations (e.g. relational data models used in many commercial systems).

A

Implementation (representational) data models

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

The description of a database. Includes descriptions of the database structure, data types, and the constraints on the database

A

Database Schema

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

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

A

Schema Diagram

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

A component of the schema or an object within the schema, e.g., STUDENT, COURSE

A

Schema Construct

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

The actual data stored in a database at a particular
moment in time. This includes the collection of all the data in the database

A

Database State

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

Also called database instance (or occurrence or snapshot).

A

Database State

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

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

A

Initial Database State

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

A state that satisfies the structure and constraints of the database

A

Valid State

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

is also called intension

A

Schema

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

is also called extension

A

State

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

changes very infrequently

A

database schema

17
Q

changes every time the database is updated

A

database state

18
Q
  • Supports DBMS characteristics
  • Program-data independence.
  • Support for multiple data views.
  • Not widely implemented in commercial DBMS products.
  • Useful for explaining database system organization
A

Three-Schema Architecture

19
Q

Defines DBMS schemas at three levels

A

Three-Schema Architecture

20
Q

Three-Schema Architecture includes

A

Internal Schema
Conceptual Schema
External Schema

21
Q

describes physical storage structures and access paths (e.g indexes). Typically uses a physical data mode

A

Internal schema

22
Q

describes the structure and constraints for the whole database for a community of users.

A

Conceptual schema

23
Q

describes the various user views. Usually uses the same data model as the conceptual schema

A

External schemas

24
Q

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

A

Logical Data Independence

25
The capacity to change the internal schema without having to change the conceptual schema
Physical Data Independence
26
Used by the DBA and database designers to specify the conceptual schema of a database.
Data Definition Language (DDL)
27
Used to specify database retrievals and updates
Data Manipulation Language (DML)
28
Types of DML
High Level or Non-procedural Language Low Level or Procedural Language
29
Example: SQL relational language. "Set"-oriented, specifies what data to retrieve. Declarative.
High Level (Non-procedural) Language
30
Retrieves data one record-at-a-time. Requires constructs like loops for multiple records retrieval. Involves positioning pointers.
Low Level (Procedural) Language
31
is accessed by DBMS software and users/DBA
Active data dictionary
32
is accessed by users/DBA only
Passive data dictionary
33
Combines everything into single system including- DBMS software, hardware, application programs, and user interface processing software
Centralized DBMS
34
Provide appropriate interfaces through a client software module to access and utilize the various server resources
Clients
35
Provides database query and transaction services to the clients
DBMS Server