Advantages and disadvantages of paradigm and anti-paradigm

Source: Internet
Author: User

Advantages and disadvantages of paradigm and anti-paradigm


When designing databases, there are paradigm and anti-paradigm considerations. The following is a summary.


Advantages of paradigm:

1) more rapid updates of the paradigm-based database;

2) After normalization, there is only a small amount of duplicate data, and only less data needs to be modified;

3) The table in the paradigm is smaller and can be executed in the memory;

4) there is very little redundant data and fewer distinct or group by statements are required during query.

Disadvantages of paradigm:

5) for a paradigm-based table, many associations are often required during query, because there is no redundancy or duplicate data in a single table. As a result, more complex query statements may need to be associated multiple times in the schema of the query paradigm. This increases the query cost and may also invalidate some index policies. Because normalization stores columns in different tables, these columns can belong to the same index in a table.


Advantages of anti-paradigm:

1) Avoid association because almost all data can be displayed on a table;

2) Effective indexes can be designed;

Disadvantages of anti-paradigm:

3) The table has a lot of redundancy. deleting data may cause some useful information loss in the table.


Therefore, when designing databases, you should pay attention to mixing paradigm and anti-paradigm.



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.