MySQL Database Design notes and summaries (2) logical design

Source: Internet
Author: User

"Example Demo-the relationship between entities"

"The work of logical design"

① the logical model of transforming demand into a database

② the logical model in the form of ER diagrams

③ is independent of the specific DBMS system chosen

"Noun explanation"

The candidate code can be simply understood as the primary key or unique index of the database

Main code is primary key

"ER legend description"

"ER diagram example-small e-commerce website"

"Overview of Design Paradigms"

Common database design paradigms include: first paradigm , second Paradigm , third paradigm and BC paradigm , fourth normal form and fifth paradigm.

"Database operation exception and data redundancy"

Data redundancy: The same data exists in multiple places, or a column in a table can be computed by other columns.

"First paradigm (1NF)"

"Second normal form (2NF)"

Therefore, the above table design does not conform to the second normal form requirement

Problems that exist:

A Insert exception

B Delete exception

C Update exception

D Data Redundancy

"Third paradigm (3NF)"

Classification and classification descriptions do not conform to the requirements of the third paradigm.

"BC paradigm (boyce.codd paradigm BCNF)"

How to resolve:

MySQL Database Design notes and summaries (2) logical design

Related Article

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.