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