Database design You know, you're worth it.

Source: Internet
Author: User

Long time no see everyone, Small series returned, I know you must think of me, yes I know, well, this return is to bring new knowledge, we must listen carefully, will benefit lifelong Oh!

(1) What is database design?

Database design is the process of planning and structuring the relationship between data entities in a database.

Database designers are very important, good database design will be efficient, easy to expand further, making application development easier.

(2) Now that we're designing the database, we need to know its steps.

Collect information, identify entities, identify the details that each entity needs to store, and identify relationships between entities.

(3) Entity-Relationship model

Entity: refers to an entity in the real world that has characteristics or attributes of other things and is associated with other entities.

Properties: A feature that can be understood as an entity.

Contact: Refers to the relationship between two or dawn entities.

(4) mapping cardinality: One-to-many, many-to-many, many-to-more.

(5) Entity Relationship Diagram

(6) Relational data graph mode: A relationship that is described as a collection of property names becomes a relational pattern.

(7) Logical design--Drawing Database Model diagram

First step: Create a new Database model diagram

Step Two: Add entities

Step three: Add data columns and corresponding properties

Fourth step: Add a mapping relationship between entities

Here's what we're going to focus!!!!! Enlarge your eyes see clearly, see Clearly, I do not tell them the ordinary people oh ~

Here is the most important understanding of the most colloquial paradigm of painstaking writing:

The above is a simple understanding of database design, I believe that if you can understand the future learning database will be a great help oh!~

Database design You know, you're worth it.

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.