Current location - Loan Platform Complete Network - Big data management - What is a data model? What are the three elements of a data model
What is a data model? What are the three elements of a data model

A data model (Data Model) is an abstraction of the characteristics of real-world data, or a simulation of real-world data. In databases, data models are used to represent real-world data and information in an abstract way. The three elements of a data model are: data structure, data manipulation and integrity constraints.

1, data structure

is the data in the data area of the storage structure, in the relational model is used in the relational model, is the "two-dimensional table" form.

2, data manipulation

refers to some of the operations on the data, including query, delete, update, insert and so on.

3,

Data integrity constraints

is the constraints on the stored data rules, entity integrity, referential integrity, etc., is to take the value of the unique, can not be empty and a series of operations.

Expanded Information:

< p>Data Model Purpose:

A data model is a collection of standard notations used to depict and communicate data requirements in a way that is simple to understand, standard, and easy to implement on a computer. Databases are powerful, but data is intricately related within them, with thousands of tables interconnected through various relationships or constraints to form complex structures. Without a data model, it is difficult for stakeholders to see the structure of existing databases, understand key concepts, and accurately express data requirements when they need to be described, which is one of the primary reasons why data models are important.

The most detailed layer of the data model is defined as the logical model, which specifically defines each entity, each attribute in the entity, the detailed relationships between entities and entities, etc.

If you want to take a map as an analogy, it is the same as not only dividing each province, but also each city within each province, each street in the city, and the links between cities are defined at this level. With such a map, the information of any address can be found. In other words, the exact location and definition of each attribute can be easily found in the logic model.

Reference:

Baidu Encyclopedia - Logic Model

.