Home >Common Problem >To ensure the data independence of the database, what needs to be modified?
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.
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!