数据库实例(database instance )和数据库模式(schema )之间的Instance and schema in DBMS

仅作记录,原文:

https://beginnersbook.com/2015/04/instance-and-schema-in-dbms/

Instance and schema in DBMS

Definition of schema: Design of a database is called the schema. Schema is of three types: Physical schema, logical schema and view schema.

The design of a database at physical level is called physical schema, how the data stored in blocks of storage is described at this level.

Design of database at logical level is called logical schema, programmers and database administrators work at this level, at this level data can be described as certain types of data records gets stored in data structures, however the internal details such as implementation of data structure is hidden at this level (available at physical level).

Design of database at view level is called view schema. This generally describes end user interaction with database systems.

To learn more about these schemas, refer 3 level data abstraction architecture.

Definition of instance: The data stored in database at a particular moment of time is called instance of database. Database schema defines the variable declarations in tables that belong to a particular database; the value of these variables at a moment of time is called the instance of that database.


猜你喜欢

转载自blog.csdn.net/albertjone/article/details/80182358