Chapter 2 : Data Base Architecture Flashcards

1
Q

What are the levels of DBMS architecture?

A
  • External Level
  • Conceptual Level
  • Internal Level
  • Physical Storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the External View ?

A

The external view is concerned with the end user n highest level of abstraction , no DBMS knowledge is needed .
The database shows the user its part that the user needs and hides the rest.

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

What is Conceptual View?

A

The main purpose is to hide the physical data of the database and constrate on data relationship ,describing entities …
It ensures Overall query optimization , management of user conflicts

nn

g

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

What is Internal View ?

A

The Internal view is the view that tells us how the data is stored and how .
The following aspects are at this level : Storage information , access paths

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

What is Data indpendence and what are its types?

A

Data independence is the seperation between levels
The two types are Logical and Physical.

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

What Is Logical Independence?

A

If there’s a change in the conceptual level without affecting the physical or internal level
Example : the name field in the conceptual view is stored as First , Middle and Last name but in the external level it remains as a single name

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

What is Physical Independence?

A

If there’s a change in the internal level without affecting the conceptual level or external.
Example: If we change the database’s location from C drive to D , the external and conceptual level won’t be affected .

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

What are the responsibilities of a DBA?

A
  • Ensuring the relationship between users
  • Safety
  • Intergity
  • Migration and updates
  • Perfomance
  • Development aid and tests
  • Recovery of Data and disaster management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the elements of a Database Connexion ?

A
  • Start a tool that creates a User Process
  • Connect To Oracle Server
  • The connexion request will create Server Process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the User Process?

A

It runs on the Client Machine
It starts when the tool starts and ends when the user quits or forced to interrupt
It includes User Program Interface

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

What is the Server Process and Its types?

A

The server process loads disk data in memory for the user to handle .
It has two types : Dedicated Server and Shared Server .

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

What is the Dedicated Server Process?

A

Everytime a user initiates a session, a dedicated server is created just for that user

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

What is the Shared User Process?

A

User’s requests are routed to one or more Dispatchers it assigns the user’s request in a queue and the shared process executes them one by one.

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

How to alter between Shared Server or Dedicated Server?

A

change SHARED_SERVERS =0;

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

What are the elements of Database Server Architecture?

A
  • Memory
  • Process
  • Storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the Physical Files inside a database storage?

A
  • Data FIles
  • Redo Files
  • Control FIles
  • Archived Files
17
Q

What are Data Files?

A

Store the database information needed (tables)

18
Q

What Are Control FIles?

A

Contain information regarding the database physical structure

19
Q

What are Redo log files?

A

Used to recover database files in case of procedure or instance failure

20
Q

What are Archived Files?

A

Used to recover database in case of disk failure

21
Q

What is a database Instance?

A

A database instance is an collection of background processes that allow the operation of the database

22
Q

What are the components of database instance ?

A

Database instanse has :
* System Global Area
* Progeam Global Area
* Background Processes
* Server Processes

23
Q

What are the components of System Global Area?

A
  • Redo log Buffer
  • Database buffer cache
  • Shared Pool (Library Cache and Data Dictionnary)