Home  >  Article  >  To ensure the data independence of the database, what needs to be modified?

To ensure the data independence of the database, what needs to be modified?

藏色散人
藏色散人Original
2020-12-04 12:01:059999browse

To ensure the independence of logical data in the database, what needs to be modified is the image of the schema and the external schema; the schema describes the global logical structure of the data, and the external schema describes the local logical structure of the data; for each Foreign schema, database system has a foreign schema/schema image, which defines the correspondence between the foreign schema and the schema.

To ensure the data independence of the database, what needs to be modified?

Recommended: "Programming Video"

To ensure the independence of logical data in the database, what needs to be modified is the schema and External mode image.

Related introduction:

The schema describes the global logical structure of the data, and the external schema describes the local logical structure of the data.

There can be any number of external modes corresponding to the same mode. For each foreign schema, the database system has a foreign schema/schema image, which defines the correspondence between the foreign schema and the schema. These image definitions are usually included in the description of each mode. When the schema changes, the database administrator makes corresponding changes to each foreign schema/schema image so that the foreign schema remains unchanged. The application program is written based on the external schema of the data, so the application program does not need to be modified, ensuring the logical independence of the data and the program.

The above is the detailed content of To ensure the data independence of the database, what needs to be modified?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn