Home  >  Article  >  Database  >  What are the three types of database data models?

What are the three types of database data models?

王林
王林Original
2020-06-20 14:59:1819045browse

What are the three types of database data models?

According to the organization form of data, data models can be divided into hierarchical models, network models and relational models.

The hierarchical model uses a tree structure to describe the relationship between entities; the network model uses a graph structure to describe the relationship between entities; the relational model uses a two-dimensional table to describe the relationship between entities.

(Recommended learning: mysql tutorial)

Let’s talk about it separately:

Hierarchical model

Organize the data into a one-to-many relationship structure, and use a tree structure to represent entities and the relationships between entities.

Network model

Use connection instructions or pointers to determine the network connection relationship between data, which is a many-to-many type of data organization.

Relationship model

Organize data in the form of record groups or data tables to facilitate storage and transformation using the relationships between various entities and attributes, regardless of The layer also has no pointers and is a very effective data organization method for establishing the relationship between spatial data and attribute data.

The above is the detailed content of What are the three types of database data models?. 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