Lesson 2.3: Levels of Database Architecture Flashcards
ANSI Standards Planning and Requirements Committee (SPARC) architecture is divided into three levels
External Level
Conceptual Level
Internal Level
user’s view of the database
External Level
the community view of the database
Conceptual Level
physical representation of the database on the computer
Internal Level
part of the database that is relevant to the user and is concerned with the way the data is seen by individual users
External Level
describes what data is stored in the database and the relationships among the data
Conceptual Level
describes how the data is stored in the database and is concerned with the way the data is physically stored
Internal Level
conceptual level represents
- all entities, their attributes and their relationships
- constraints on the data
- semantic information about the data
- security and integrity information
internal level represents
- 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
reasons of separation
- 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.
an individual user level
external level
in external level, all such languages will include a ___
data sublanguage (DSL)
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
data sublanguage (DSL)
what particular DSL is supported?
SQL
A DSL is a combination of at least two subordinate languages
- Data Definition Language (DDL)
- supports the definition or declaration of database objects
- Data Manipulation Language (DML)
- supports the manipulation or processing of such objects
content of the database as seen by some particular user that consists of many occurrences of each of many types of external record
external view
written using the DDL portion of the user’s DSL.
external schema
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
Conceptual view / conceptual level?
The conceptual view is defined by means of the ___
conceptual schema
includes definitions of each of the various conceptual record types
conceptual schema
written using another DDL, the conceptual DDL
conceptual schema
a schema intended to include the a great many additional features, such as security and integrity constraints
conceptual schema
t/f A conceptual record is not necessarily the same as either an external record or a stored record.
true
low-level representation of the entire database
internal level