Lesson 2.3: Levels of Database Architecture Flashcards

1
Q

ANSI Standards Planning and Requirements Committee (SPARC) architecture is divided into three levels

A

External Level
Conceptual Level
Internal Level

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

user’s view of the database

A

External Level

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

the community view of the database

A

Conceptual Level

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

physical representation of the database on the computer

A

Internal Level

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

part of the database that is relevant to the user and is concerned with the way the data is seen by individual users

A

External Level

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

describes what data is stored in the database and the relationships among the data

A

Conceptual Level

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

describes how the data is stored in the database and is concerned with the way the data is physically stored

A

Internal Level

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

conceptual level represents

A
  • all entities, their attributes and their relationships
  • constraints on the data
  • semantic information about the data
  • security and integrity information
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

internal level represents

A
  • storage space allocation for data and indexes
  • record descriptions for storage (with stored sizes for data items)
  • record placement
  • data compression and data encryption techniques
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

reasons of separation

A
  • Each user should be able to access the same data, but may have different view of the data.
  • User should not have to deal directly with physical data storage detail.
  • The DBA should be able to change the database storage structure w/o affecting the users’ view
  • The internal structure of the database should be unaffected by changes to the physical aspects of storage.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

an individual user level

A

external level

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

in external level, all such languages will include a ___

A

data sublanguage (DSL)

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

subset of the total language that is concerned specifically with database objects nad operations, embedded within the corresponding host language and is responsible for providing various nondatabase facilities

A

data sublanguage (DSL)

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

what particular DSL is supported?

A

SQL

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

A DSL is a combination of at least two subordinate languages

A
  • Data Definition Language (DDL)
    • supports the definition or declaration of database objects
  • Data Manipulation Language (DML)
    • supports the manipulation or processing of such objects
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

content of the database as seen by some particular user that consists of many occurrences of each of many types of external record

A

external view

17
Q

written using the DDL portion of the user’s DSL.

A

external schema

18
Q

a representation of the entire information content of the database in a form that is somewhat abstract in comparison with the way in which the data is physically stored and is a view of the total database content that consists of many occurrences of each of many types of conceptual record

A

Conceptual view / conceptual level?

19
Q

The conceptual view is defined by means of the ___

A

conceptual schema

20
Q

includes definitions of each of the various conceptual record types

A

conceptual schema

21
Q

written using another DDL, the conceptual DDL

A

conceptual schema

22
Q

a schema intended to include the a great many additional features, such as security and integrity constraints

A

conceptual schema

23
Q

t/f A conceptual record is not necessarily the same as either an external record or a stored record.

A

true

24
Q

low-level representation of the entire database

A

internal level

25
Q

consists of many occurrences of each of may types of internal record

A

internal level

26
Q

internal view is still at one remove from the physical level since it does not deal in terms of physical records, also called _____ or pages - nor with any device specific considerations such as cylinder or track sizes.

A

blocks

27
Q

described by means of the internal schema, which not only defines the various stored record types but also specifies what indexes exist, how stored fields are represented, what physical sequence the stored records are in and so on.

A

internal view

28
Q

the database system architecture involves certain mappings

A

The conceptual/internal mapping

The conceptual/external mapping

29
Q

defines the correspondence between the conceptual view and the stored database

It specifies how conceptual records and fields are represented at the internal level

If the structure of the stored database is changed - that is if a change is made to the storage structure definition - then the conceptual/internal mapping must be changed accordingly, so that the conceptual schema can remain invariant.

A

The conceptual/internal mapping

30
Q
  • defines the correspondence between a particular external view and the conceptual view
  • In general, the differences that can exist between these two levels are analogous to those that can exist between the conceptual view and the stored database.
A

The conceptual/external mapping

31
Q

A system provides ____________- if users and user programs are immune to changes in the physical structure of the stored database.

A

physical data independence

32
Q

Analogously, a system provides ________________ if users and user programs are also immune to changes in the logical structure of the database.

A

logical data independence