ANSI/SPARC Flashcards
what does ANSI/SPARC stand for ?
American National Standard Institute - standards planning and requirements committee
what are the 3 levels of the ANSI/SPARC database system ?
- view layer / external
- logical layer / conceptual
- physical layer/ internal
describe the physical layer ?
physical layer discribes how data is actually stored in a database. The Physical layer is above the database in the architectural diagram
what is the conceptual/ logical level?
this level describes how the database will view to the user conceptually and the relationship between various data tables.
the reason for the database such as ; relationship among data , schema of data etc , is stored in this level
- the conceptual level does not care about how the data is actually stored
what is the level/schema above the internal schema
the view / external level
the _____ only shows the relevant data base content to the user in the form of views and hides the rest of the data
View Level
what is the other name for physical layer
internal layer
How are records described in the Physical layer ?
records can be described as blocks of storage ( gigabytes TB etc)
*the details are hidden from the programmer
how are records described in the logical level?
records can be described as fields and attributes along with their data types and relationships
what level do programmers generally work
logical / conceptual level
At what level do users interact with the database system ?
View level/ external level
How do users handle data when accessing the system ?
users are not aware of how or what data is stored
the process of hiding complex and irrelevant details from the user is referred to as
Data abstraction
What is mapping ?
This is the process of transferring results and requests among the three levels
What is data Independence ?
this is the ability to modify a schema in one level without affecting the schema in the next higher level
what are the two types of data independency in the database system?
- physical independency - the ability to modify the physical schema without requiring any change the logical schema and application programs
- logical independency - the ability to modify the logical layer without requiring any change in the application program ( view Layer / external layer )
in what scenario would you want to modify the physical layer ?
in a situation where you would want to improve performance of a database
why would you modify the logical layer ?
this is only neccessary when the logical structure of the database is changed