1.2 Data Model

Source: Internet
Author: User

1. Meaning: Used in databases to abstract, represent and process data and information in the real world

2. Classification: Conceptual models, physical models, and logical models

Among them, the logical model includes: Hierarchical model, net model, relational model

The constituent elements of the data model:

1. Data structure: A description of the static characteristics of the system

2. Data manipulation: A description of the dynamic characteristics of the data

3. Integrity constraints: Entity integrity, referential integrity, user-defined integrity

Second, conceptual model--representation method: E-r diagram

Will draw a e-r chart

Third, the commonly used data model

1. Classification

1. Non-relational model: hierarchical model; NET model

2. Relational model

3. Object-oriented model

4. Object Relational Model

2. Basic Hierarchy Model

It means records and a one-to-many relationship between them (no many-to-many relationships)

3. Hierarchical model

There is only one node and there are no parent nodes (root node).

Nodes other than root have and have only one parent node

4. Mesh structure

Allow more than one node to have two parents;

A node can have more than one parent.

5. Relational model

1) Data structure

2) Manipulation: Set operation, that is, the operation of the whole table (different from the non-relational model: record operation)

3) integrity constraint: Entity ..., reference ..., user-defined

4) Storage structure: A table used to represent the storage between entities and entities;

5) Advantages and disadvantages: Based on the concept of mathematics, the concept of a single, the storage path to the user is transparent, so that on the one hand to ensure the independence of the data, on the other hand, it caused the query request to be optimized

1.2 Data Model

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.