本文共 1592 字,大约阅读时间需要 5 分钟。
Data Models define how we give a structure to data, and how data is connected to other data.
数据模型定义了我们如何为数据提供结构,以及如何将数据连接到其他数据。
We have many different kinds of data models. They all can be grouped under 2 main umbrellas: conceptual models and logic models.
我们有许多不同类型的数据模型。 它们都可以归为两个主要类别: 概念模型和逻辑模型 。
The most known conceptual model is the Model, also called ER. It’s the best way to organize data at first, when you are in the design phase, because it’s the model that’s nearest how we think, and it’s not linked to any specific implementation.
最著名的概念模型是模型,也称为ER。 当您处于设计阶段时,这是最好的组织数据的最佳方法,因为它是我们认为最接近的模型,并且未链接到任何特定的实现。
Logic models on the other hand are closer to the implementation.
另一方面,逻辑模型更接近于实现 。
Logic models include (among many others):
逻辑模型包括(其中包括):
The
The Hierarchical Model
层次模型
The Reticular model
网状模型
The Object model
对象模型
You can see the name already gives us a hint of how those models are implemented: tables for the relational model, trees of the hierarchical model, graphs for the reticular model, objects for the object model.
您可以看到该名称已经为我们提供了有关如何实现这些模型的提示:关系模型的表,层次模型的树,网状模型的图形,对象模型的对象。
The is the logic model that we’ll soon see in more details, as it’s the base of the popular relational databases, including PostgreSQL, MySQL, SQLite and SQL Server.
是逻辑模型,我们很快将对其进行详细介绍,因为它是流行的关系数据库(包括PostgreSQL,MySQL,SQLite和SQL Server)的基础。
Conceptual models and logic models are two different tools. Using one does not exclude the other. We could start with a conceptual model and then use a logic model to implement it.
概念模型和逻辑模型是两种不同的工具。 使用一个并不排除另一个。 我们可以从概念模型开始,然后使用逻辑模型来实现它。
翻译自:
转载地址:http://faqgb.baihongyu.com/