Week_11? Flashcards

1
Q

The complexity of a large database is handled by DBMS which provides Three level architecture. What does each level do.

Internal Level
Conceptual Level
Local or External Level

A

Internal Level: How the data is stored and accessed

Conceptual Level: What data are available in the database

Local or External level: Limited and simplified views of the database suitable for a single application or a group of associated applications

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

3 points a External Schema does:

A

Several external schemas in a database.

Provides a means of limiting the perceived complexity of a large system

They hide those parts of the database which are not required for a particular purpose(good security)

External schemas are based on the conceptual
schema

Each external schema describes a section of the
database of interest to a particular group of users (or
programs)

Above the external schema are the application
programs called the Application Level.

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

3 points a Conceptual Schema does:

A

Describes the global view of the database in a logical form

Avoids the need to know the exact physical structure and access method required for the physical data

The conceptual schema also describes the global constraints on the data.

Effectively you are the Database Developer or
Administrator for your own database rather than a
programmer with a limited (External) view of the
database.

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

3 points a Internal Schema does:

A

Describes a global view of the data in technical terms such as record formats, data compression techniques, pointers, indexes and has tables

Conveniently the conceptual schema describes the global view of the data at a logical level without this technical complexity

Below the Internal Schema is the operating system and the hardware called the physical level.

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

In DBMS what is Data Independence?

A

Data Independence is the capacity to change the schema at one level of the database without having to change the schema at a higher level.

Two Types: logical and physical

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

What is Logical Data Independence?

A

The capacity to change the conceptual schema without changing the external schema nor application programs

Examples:
Adding and removing base tables and attributes
Adding and removing constraints on data
Granting and revoking access rights

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

What is Physical data Independence?

A

The ability to change the internal schema without causing changes to conceptual database design nor to application programs.

Examples:
Changing the file organisation
Using different storage devices for different tables
Modifying indexes or hashing algorithms.

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

Name 3 kinds of Database Security Controls

A

Authentication:
Determining whether a user is who her or she claims to be

Authorisation:
Granting a right or privilege, which enables a user to legitimately have access and manipulate a table or view.

Accounting:
Monitoring database usage

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