Relational database: The principle of relational pattern design

Source: Internet
Author: User

Relational database: The principle of relational pattern design


1. Paradigm and redundancy of data
From 0NF to 1NF, 2NF, 3NF, BCNF, 4NF, 5NF?
The process of database design is a split table, the purpose of the split is to reduce the data redundancy.


the lower the redundancy of the data, the shorter the transaction duration (it does not require additional operations to maintain data consistency and integrity).
at the same time, the finer the split, the higher the cost of the query (requiring more time-consuming connection operations).

2. Design principles for relational models


if the table (set) is primarily used for data update (Online), the decomposition of the table should be as close to 3NF as possible.

BCNF from the previous example is not necessary, as for the 4NF, 5NF more belongs to the theoretical research field, in the actual should

It is not necessary in use.


If the table (set) is mainly used for data query (statistics, analysis), the decomposition of the table to 1NF, 2NF can be.

for frequently used queries, You can even use data persistence technology,

provides support for data queries with specialized tables (sets) .

excerpt from:http://www.cnblogs.com/huangcongcong/p/4004779.html

Relational database: The principle of relational pattern design

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.