Classification of models in the database: 1. Conceptual data model, which is user-oriented and real-world oriented data model, describing the conceptual structure of a unit; 2. Logical data model, which can outline the enterprise through entities and relationships. Data blueprint; 3. Physical data model, which has the characteristics of intuitively expressing cognitive objects in the form of physical objects or drawings.
Classification of models in the database:
1. Conceptual data model
Characteristics are
User-oriented, real-world oriented data model, describing the conceptual structure of a unit;
has strong Semantic expression ability can express various semantic knowledge in applications conveniently and directly;
Simple, clear, and easy for users to understand;
Conceptual models are subjective artifacts.
2. The logical data model
is characterized by
#directly reflecting the needs of the business department , plays an important guiding role in the physical implementation of the system;
can outline the data blueprint of the enterprise through entities and relationships;
The logical model provides A mechanism for users to define integrity constraints to reflect the specific semantic constraints that the data involved in a specific application must adhere to.
3. The physical data model
is characterized by
being intuitive in the form of physical objects or drawings Express the characteristics of the cognitive object;
Each logical data model has its corresponding physical data model when implemented;
Description The organizational structure of data on storage media is not only related to the specific DBMS, but also related to the operating system and hardware.
Extended information:
The data model structure is mainly divided into data structure, data operation, and data constraints .
1. Data structure mainly describes the type, content, nature of data and the relationship between data. Data types, such as record types, data items in the DBTG network model, relationships in the relational model, etc. Data structure is the basis of data model, and different data structures have different operations and constraints.
2. Data operations mainly describe the operation types and operation methods on the corresponding data structures. It is a collection of operation operators, including several operations and inference rules, used to operate on the database composed of valid instances of the target type.
3. Data constraints mainly describe the syntax and word meaning relationships between data in the data structure, the constraints and dependencies between them, and the rules for dynamic changes in data to ensure that the data is correct, effective and compatible. Constraints can be divided according to different principles into data value constraints and data connection constraints; static constraints and dynamic constraints; entity constraints and reference constraints between entities, etc.
Related free learning recommendations: mysql video tutorial
The above is the detailed content of What are the classifications of models in the database?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools