search
HomeCommon ProblemWhat is the pattern that reflects users' data requirements in database design?

The mode in database design that reflects the user's data requirements is the "external mode". The three-level schema of the database system is the conceptual schema, the external schema and the internal schema; among them, the external schema is also called the user schema, which corresponds to the user level. It is the user's data view and gives each user's local data description. The external schema is the data view of the database seen by one or several users, and is a logical representation of data related to a certain application.

What is the pattern that reflects users' data requirements in database design?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

The schema in database design that reflects the user's data requirements is the "external schema".

People have designed a rigorous architecture for the database. The standard structure recognized in the database field is the three-level schema structure, which includes external schema, conceptual schema, and internal schema to effectively organize and manage data. Improved the logical independence and physical independence of the database. The user level corresponds to the external schema, the conceptual level corresponds to the conceptual schema, and the physical level corresponds to the internal schema, allowing users at different levels to form different views of the database.

  • Conceptual schema is a description of the global data logical structure in the database system and is a common data view for all users.

  • External schema is also called sub-schema or user schema. It is the user's data view and gives a partial data description of each user.

    In a database schema, there are N foreign schemas, and each foreign schema corresponds to a user. Foreign schema ensures the logical independence of data.

  • #The internal schema is also called the physical schema, which provides the physical storage structure and physical access methods of the database.

    A database has only one internal schema; the internal schema specifies the data storage method, data operation logic, data integrity, data security, and data storage performance.

External mode

External mode is also called submode or user mode, corresponding to the user level. It is a data view of the database seen by one or several users, and is a logical representation of data related to a certain application. The foreign schema is a subset derived from the schema and contains that portion of the data in the schema that is allowed to be used by a specific user. Users can describe and define data records corresponding to users (external schemas) through external schema description languages, and they can also use data manipulation language (Data Manipulation Language, DML) to operate on these data records. The external schema reflects the user's view of the database system.

Conceptual pattern

Conceptual pattern is also called pattern or logical pattern, corresponding to the concept level. It is a global logical structure constructed by the database designer based on a unified point of view, integrating the data of all users. It is an overall description of the logical structure and characteristics of all data in the database, and is a common data view (global view) for all users. It is described and defined by the Data Description Language (DDL) provided by the database management system. Conceptual schema reflects the overall view of the database system.

Internal mode

Internal mode is also called storage mode, which corresponds to the physical level. It is the internal representation or underlying description of all data in the database, and is the lowest level logical description of the database. It describes the storage method and physical structure of the data on the storage medium, and corresponds to the database actually stored on the external storage medium. Internal patterns are described and defined by internal pattern description languages. The internal schema reflects the storage view of the database system.

In a database system, there is only one database. Therefore, as the internal schema that defines and describes the database storage structure and the schema that describes the logical structure of the database, it is also unique, but it is built on the database system. The applications are very extensive and diverse, so the corresponding external model is not unique, nor can it be unique.

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What is the pattern that reflects users' data requirements in database design?. 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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.