Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What does the data model reflect in the database?

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article is about what the data model reflects in the database. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The data model reflects the relationship between the data of things themselves and related things. Data model is used to describe data, organize data and operate on data. It is a description of the characteristics of real-world data. The purpose of establishing the data model: the computer can not deal with the real things directly. Only when people convert the real things into digital data, can the computer recognize and process them.

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

Data model (Data Model) is the abstraction of data characteristics, which is used to describe data, organize data and manipulate data. It is the description of real-world data characteristics.

The data model describes the static characteristics, dynamic behavior and constraints of the system from the abstract level, and provides an abstract framework for the information representation and operation of the database system.

The purpose of establishing the data model: the computer can not deal with the real things directly, so only when people convert the real things into digital data can the computer recognize and process them.

Constituent elements

The content described by the data model has three parts, namely data structure, data operation and data constraint.

① data structure: the data structure in the data model mainly describes the type, content, nature and relationship of the data. Data structure is the foundation of data model, and data operations and constraints are based on data structure. Different data structures have different operations and constraints.

② data manipulation: the data operation in the data model mainly describes the operation type and operation mode on the corresponding data structure.

③ data constraints: data constraints in the data model mainly describe the syntax, semantic relationships, constraints and dependencies between data within the data structure, as well as rules for dynamic changes of data, in order to ensure that the data is correct, effective and compatible.

Hierarchical type

Data models are divided into three types according to different application levels: conceptual data model, logical data model and physical data model.

Conceptual data Model (Conceptual Data Model) is a user-oriented and objective-world-oriented model, which is mainly used to describe the conceptual structure of the world. In the initial stage of design, database designers get rid of the specific technical problems of computer system and DBMS, concentrate on analyzing data and the relationship between data, etc., and have nothing to do with the specific data management system (Database Management System, referred to as DBMS). The conceptual data model must be replaced with a logical data model before it can be implemented in DBMS.

Logical data model (Logical Data Model) is a database system-oriented model, which is supported by specific DBMS data models, such as mesh data model (Network Data Model), hierarchical data model (Hierarchical Data Model) and so on. This model is not only user-oriented, but also system-oriented, and is mainly used in the implementation of database management system (DBMS).

Physical data Model (Physical Data Model) is a model oriented to computer physical representation, which describes the organizational structure of data on the storage medium. It is not only related to the specific DBMS, but also related to the operating system and hardware. Each logical data model has its corresponding physical data model when it is implemented. In order to ensure the independence and portability of DBMS, most of the physical data models are implemented automatically by the system, while designers only design special structures such as index, aggregation and so on.

Thank you for reading! This is the end of the article on "what the data model reflects in the database". I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report