Week_11? Flashcards
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
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
3 points a External Schema does:
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.
3 points a Conceptual Schema does:
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.
3 points a Internal Schema does:
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.
In DBMS what is Data Independence?
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
What is Logical Data Independence?
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
What is Physical data Independence?
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.
Name 3 kinds of Database Security Controls
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