Three-Level Schema Architecture in DBMS

CredibleBlackberryBush avatar
CredibleBlackberryBush
·
·
Download

Start Quiz

Study Flashcards

12 Questions

What is the name of the three-level architecture proposed in 1971 by a Special interest group?

ANSI-SPARC architecture

What is the aim of presenting the ANSI-SPARC architecture?

To provide a framework for describing general database concepts and explaining the structure of specific database systems.

What are the three different levels at which data in a database is described?

External schema, conceptual schema, physical or internal schema.

Which level in the three-level schema architecture is nearest to the storage level?

Physical or internal schema

What is the purpose of the conceptual schema in the three-level schema architecture?

It represents the logical structure of the entire database.

What is the role of the external schema in the three-level schema architecture?

It represents the user views or user interface to the database.

What is the purpose of the external level in a database system?

The external level is concerned with the way the data is seen by individual users, either application programmers or end users. It describes a portion of the database that is of concern to the specific user and includes only those entities, attributes and relationships that are of interest to the user.

How does the conceptual level differ from the external level in a database system?

The conceptual level represents the community view of the database as seen by the database administrator. It defines the logical structure of all data in the database, including the structure and constraints for the whole database. In contrast, the external level describes a portion of the database that is of concern to a specific user.

What is the purpose of data independence in a database system?

Data independence is achieved by defining the conceptual schema using a Data Definition Language (DDL) that does not involve any consideration of the physical representation or access techniques. This allows changes to the physical implementation of the database without affecting the conceptual or external schemas.

How can users access the external schema in a database system?

Users can access the external schema using a tool or language specific to their needs. Application programmers can use a conventional programming language (e.g., C++, Java, 4GL), while end users would use a query language or some special-purpose language (SQL or query-by-form).

What is the purpose of the conceptual schema in a database system?

The conceptual schema is used to describe what data is stored in the database and the relationships among the data. It defines the logical structure of all data in the database, including the structure and constraints for the whole database.

How can the external view of the database differ from the actual stored data?

The external view could possibly represent records in a different model than the stored level. For example, one view could show the price of an item in American Dollars while another view in German Francs, even though the actual value of the item is stored in Euros. The item price is stored in one currency and is converted (derived) into different currencies when it is needed (whenever the user views it).

Explore the features and advantages associated with having a DBMS with different levels of abstractions. Learn how multiple user views, data and program independence, and the use of a catalog for storing database descriptions (schema) are achieved through the three-level schema architecture.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

DBMS Features and Abstractions Quiz
12 questions
DBMS Fundamentals Quiz
12 questions

DBMS Fundamentals Quiz

SatisfyingChimera avatar
SatisfyingChimera
Use Quizgecko on...
Browser
Browser