DBS Concepts and Architecture Flashcards

1
Q

Data Model

A
  • A set of concepts to describe the structure of a database

* Has 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 Operations

A
  • Specify database retrievals and updates

* Basic operations and user-defined operations

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

Conceptual (high-level, semantic) data models

A

• Provide concepts that are close to the way many users perceive data. (Also called entity-based or object-based data models.)

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

Physical (low-level, internal) data models

A

• Provide concepts that describe details of how data is stored in the computer.

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

Representational (implementation) data models

A

• Provide concepts that fall between the above two, balancing user views with some computer storage details.

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

Database Schema

A

The description of a database.

• Describe the structure and constraints.

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

Schema Diagram

A

A diagrammatic display of (some aspects of) a database schema.

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

Schema Construct

A

A component of the schema (e.g., STUDENT, COURSE).

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

Database State

A

Content of a database at a moment in time.

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

Initial Database State

A

Refers to the database when it is loaded.

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

Distinction between DB Schema and DB State

A
  • The database schema changes very infrequently. The database state changes every time the database is updated.
  • Schema is also called intension, whereas state is called extension.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Three Schema Architecture

A

Defines DBMS schemas at 3 levels:
1, External schemas at the external level describe the various user views usually uses the same data model as the conceptual level
2, Conceptual schema at the conceptual level describe the structure and constraints for the whole database uses a conceptual or an implementation data model
3. Internal schema at the internal level 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
13
Q

Data Independence (2)

A
  1. Logical Data Independence: Can change the conceptual schema without changing the external schemas and their application programs.
  2. Physical Data Independence: Can change the internal schema without changing the conceptual schema.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

DBMS Languages (3)

A
  1. Data Definition Language (DDL): To specify the conceptual schema of a database.
  2. Storage definition language (SDL)
  3. View definition language (VDL)
    (last 2 used to define internal and external schemas)
  4. Data Manipulation Language (DML): Used to specify database retrievals and updates
  5. High Level or Declarative Languages: Specify what to do (what data to retrieve); not how to do. (Ex. SQL)
  6. Low Level or Procedural Languages: Specify how to do; not what to do. (Has constructs like loops)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Different Interfaces

A
  • Menu-based, popular for browsing on the web
  • Forms-based, designed for naïve users
  • Graphics-based (Point and Click, Drag and Drop etc.)
  • Natural language: requests in written English
  • Combinations of the above
How well did you know this?
1
Not at all
2
3
4
5
Perfectly