DBMS Chapter 2 Flashcards

(49 cards)

1
Q

Data abstraction

A

The suppression of details and highlighting of the essential features

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

Data Model

A

A set of concepts to describe the structure of a database, and certain constraints that the database should obey.

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

Client Module

A

Designed so that it will run on a user workstation or PC

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

Server Module

A

Handles data storage, access, search functions

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

Categories of data models

A

Conceptual (high-level, semantic) data models:
Physical (low-level, internal) data models:
Implementation (representational) data models:

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

Conceptual (high-level, semantic) data models

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
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
8
Q

Implementation (representational) 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
9
Q

Advantage of Hierarchical Model

A
  • Hierarchical Model is simple to construct and operate on
  • Corresponds to a number of natural hierarchically organized domains
  • Language is simple
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Disadvantage of Hierarchical Model

A
  • Navigational and procedural nature of processing
  • Database is visualized as a linear arrangement of records
  • Little scope for “query optimization”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Advantages of Network Model

A
  • Network Model is able to model complex relationships.

- Can handle most situations for modeling using record types and relationship types.

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

Disadvantage of Network Model

A

Navigational and procedural nature of processing

Database contains a complex array of pointers that thread through a set of records.

Little scope for automated “query optimization”

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

Database Schema

A

The description of a database. Includes descriptions of the database structure and the constraints that should hold on the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
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
15
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
16
Q

Database Instance

A

The actual data stored in a database at a particular moment in time

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

Database State

A

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
18
Q

Valid State

A

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
19
Q

Database schema vs. Database state

A
  • The database schema changes very infrequently. The database state changes every time it’s 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
20
Q

3-schema Architecture

A

Internal schema, Conceptual schema, External schema

21
Q

Internal schema

A

Describes physical storage structures and access paths. Typically uses a physical data model.

22
Q

Conceptual schema

A

Describes the structure and constraints for the whole database for a community of users. Uses a conceptual or an implementation data model.

23
Q

External schema

A

Describes the various user views. Usually uses the same data model as the conceptual level.

24
Q

Mappings

A

Processes of transforming requests and results between levels

25
Data independence
defined as the capacity to change the schema at one level of a database system without having to change the schema at the next higher level
26
Logical Data Independence
Can change the conceptual schema without changing the external schemas
27
Physical Data Independence
Can change the internal schema without changing the conceptual schema
28
Data Definition Language (DDL)
Used by the DBA and database designers to specify the conceptual schema of a database.
29
Storage definition language (SDL)
Used to specify the internal schema
30
View definition language (VDL)
used to specify user views and their mappings to the concept schema, used to define conceptual and external schemas
31
Data Manipulation Language (DML):
Used to specify database retrievals and updates.
32
2-types of DMLS
(high level)Non-procedural Languages and (low level)procedural languages
33
High Level language
Set-oriented and specify what data to retrieve than how to retrieve
34
Low Level language
Record-at-a-time; they specify how to retrieve data and include constructs such as looping.
35
DBMS Interfaces
Stand-alone query language interfaces | Programmer interfaces for embedding DML in programming languages
36
Database System Utilities Functions
- Loading data - Backing up database - Reorganizing file structures. - Report generation - Performance monitoring
37
Data dictionary
Used to store schema descriptions as well as design decisions, application program descriptions, user information, usage standards, etc.
38
Backup
Backup of database by dumping into different file organizations
39
Application development environment
Systems provide an environment for developer database applications and including database design
40
Centralized DBMS
Combines everything into single system | - DBMS software, hardware, application programs and user interface
41
Client
User machine that provide appropriate interfaces and a client-version of the system to access and utilize the server resources.
42
Server
System containing both hardware and software that can provide services to the client machines
43
DBMS Server
Provides database query and transaction services to the clients
44
Two Tier Client-Server Architecture
User Interface Programs and Application Programs run on the client side client--->Communication network --->Server - Simplicity and seamless compatibility
45
Advantage of Two Tier Client-Server Architecture
The advantages of this architecture are its simplicity and seamless compatibility with existing systems.
46
Three Tier Client-Server
Adds a web server between the client and database server | Client - Better security
47
web server(middle tier)
This server plays an intermediary role by running application programs and storing business rules (procedures or constraints) that are used to access data from the database server.
48
Variations of Distributed Environments
Homogeneous DDBMS Heterogeneous DDBMS Federated or Multidatabase Systems
49
Classification of DBMSs
Traditional:Relational, Network, Hierarchical. Emerging: Object-oriented, Object-relational