CH 3 - Database Architecture Flashcards

draw the ANSI-SPARC 3 Level architecture , teleprocessing topolgy, file server topology , client server architectures and topolgies.,

1
Q

What are the objectives of the Three-Level Architecture in databases?

A

-provides data independence

  • ensures all users can acces the same data
  • hide physical storage details from users

-ensures the internal database structure is unaffected by changes in physical storage.

-ensure s how data is stored and retrieved at the internal level.

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

What is Logical Data Independence?

A

refers to the immunity of external schemas to changes in the conceptual schema.

Changes to the conceptual schema (e.g., adding or removing entities) should not require changes to the external schema or application programs.

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

The ANSI SPARC (1975) architecture specifies 3 levels

A

External – user views of the data

Conceptual – the ‘data model’ view of the data

Internal – how the data is physically stored

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

What is Physical Data Independence?

A

refers to the immunity of the conceptual schema to changes in the internal schema.

Changes to the internal schema (e.g., different file organizations, storage structures, or devices) should not require changes to the conceptual or external schemas.

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

Describe the Teleprocessing (traditional architecture) architecture in a multi-user DBMS.

A

there is a single mainframe with multiple terminals attached. The DBMS and the database both reside in the mainframe.

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

What is the File-server architecture in a multi-user DBMS?

A

A file-server is connected to several workstations across a network.

The database resides on the file-server.

The DBMS and applications run on each workstation.

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

What are the disadvantages of the File-server architecture?

A

Significant network traffic.

A copy of the DBMS is required on each workstation.

Concurrency, recovery, and integrity control are more complex.

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

What are the responsibilities of the client in a Client-Server architecture?

A

Manages the user interface.

Accepts and checks the syntax of user input.

Generates database requests and transmits them to the server.

Passes the results back to the user.

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

What are the responsibilities of the server in a Client-Server architecture?

A

Accepts and processes requests from clients.

Checks authorization.
Ensures integrity constraints are not violated.

Performs query processing.
Maintains the system catalog.

Provides concurrent access and recovery control.

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

What are the four major components of Client-Server architectures?

A

The database.

Transaction logic.

Business and data application logic.

User interface.

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

Describe the Two-Tier Client-Server architecture.

A

First Tier (Client): Provides the presentation tier (interface) and business logic.

Second Tier (Database Server): Handles server-side validation and database access.

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

Describe the Three-Tier Client-Server architecture.

A

Client: Manages the user interface.

Application Server: Handles business logic and data processing logic.

Database Server: Performs data validation and database access.

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

Describe the N-Tier Client-Server architecture.

A

The architecture includes multiple layers such as:

Client: Manages user interface.

Web Server: Handles web-based requests.

Application Server: Manages business logic and data processing.

Database Server: Performs data validation and database access.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the different Client-Server Topologies?

A

Single Client, Single Server

Multiple Clients, Single Server

Multiple Clients, Multiple Servers

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