DBMS ARCHITECTURE Flashcards

(28 cards)

1
Q

What are the typical DBMS Component Modules?

A

DBMS languages, DBMS Interfaces, DDL Compiler, Privileged Commands, Query Compiler, Query Optimizer, Precompiler, DML Compiler, Host Language Compiler, Compiled Transaction, Runtime Database Processor, Stored Data Manager

DBMS languages include Data Definition Language (DDL), Data Manipulation Language (DML), and Data Control Language (DCL).

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

What is Data Definition Language (DDL)?

A

Used by the DBA and database designers to specify the description of the database.

Example: CREATE TABLE student( name VARCHAR2(50), student_no NUMBER(9), classification VARCHAR2(9) );

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

What is Data Manipulation Language (DML)?

A

Used to specify database retrievals and updates (insertion, deletion, and modification of data).

Examples include SELECT, INSERT, and UPDATE statements.

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

What is Data Control Language (DCL)?

A

Used to control and provide levels of access privileges and authorization to database objects.

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

What are the types of DBMS Interfaces? (9)

A
  • Stand-alone query language interfaces
  • Programmer interfaces for embedding DML
  • User-friendly interfaces
  • Forms-based interfaces
  • Graphics-based interfaces
  • Natural language interfaces
  • Speech as Input and Output
  • Parametric interfaces
  • Interface for the DBA

Examples include menu-based interfaces popular for browsing on the web.

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

What is the function of a DDL Compiler?

A

Processes DDL statements and stores database description in the DBMS catalog.

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

What are Privileged Commands?

A

Commands used only by the DBA or the DBA staff for creating accounts, granting authorization, and changing database descriptions.

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

What does a Query Compiler do?

A

Parses queries, analyzes them for correctness, and compiles them into an internal form.

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

What is the role of a Query Optimizer?

A

Rearranges operations, eliminates redundancies, and uses correct algorithms during execution.

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

What does a Precompiler do?

A

Extracts DML commands from an application program.

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

What is a Runtime Database Processor?

A

Executes privileged commands, executable query plans, and canned transactions with runtime parameters.

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

What is a Centralized DBMS?

A

Combines everything into a single system including DBMS software, hardware, application programs, and user interface processing software.

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

What is a Client in a Client-Server DBMS architecture?

A

A user machine that provides user interface capabilities and local processing.

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

What distinguishes a Thin Client from a Thick Client?

A
  • Thin client: Dependent on another machine to complete a process
  • Thick client: Can provide functionality independent of the server.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a Two Tier Client-Server Architecture?

A

Client contains the user interface and application programs; server contains the DBMS.

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

What is a Three Tier Client-Server Architecture?

A

The client communicates with the application server, which stores business rules to access data from the database, while the database server provides the data.

17
Q

What is a Database Schema?

A

The description of a database, including the structure, data types, and constraints.

18
Q

What is the difference between Database Schema and Database State?

A
  • Database Schema: Changes infrequently
  • Database State: Changes every time the database is updated.
19
Q

What are the types of Database States?

A
  • Empty State
  • Initial State
  • Valid State (Current State)
20
Q

What is Logical Data Independence?

A

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

21
Q

What is Physical Data Independence?

A

The capacity to change the internal schema without changing the conceptual schema.

22
Q

What are the categories of Data Models?

A
  • Conceptual (high-level, semantic) data models
  • Physical (low-level, internal) data models
  • Implementation (representational) data models
23
Q

What is a Conceptual Data Model?

A

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

24
Q

What is a Physical Data Model?

A

Describes details of how data is stored in the computer, generally meant for computer specialists.

25
What is an Implementation Data Model?
Falls between conceptual and physical data models, used by many commercial DBMS implementations.
26
What is the purpose of the Three Schema Architecture?
To support multiple views of the data and program-data independence.
27
What are the types of DBMS classifications?
* Single-user vs. multi-user * Centralized vs. distributed * Free vs. commercialized
28
What is a Distributed Database System?
A database system that is spread across multiple sites or locations.