Outline of database design paradigm

Source: Internet
Author: User

First paradigm

Each row in a table must have only unique row values. Each column in a row has only unique values and is atomic.

Second paradigm

The second paradigm requires that the non-primary key column is a subset of the primary key, and the activity of the non-primary key column must be completely dependent on the entire primary key. A primary key must have a unique element. A primary key can consist of one or more columns with unique values. Once created, the primary key cannot be changed. The foreign key is associated with the primary key of a table. The relationship between the primary and Foreign keys indicates a one-to-many relationship.

Third paradigm

The third paradigm requires that non-primary key columns do not depend on each other.

Fourth paradigm

The fourth paradigm prohibits one-to-multiple relationships between primary key columns and non-primary key columns from being constrained.

Fifth paradigm

The fifth paradigm divides the table into as small blocks as possible, in order to exclude all redundancy in the table.

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.