Database Design Patterns-Overview

Source: Internet
Author: User

What is the database design model?

Simply put, a pattern is similar to a definite pattern, which is a fixed solution used when the same problem occurs repeatedly. Friends of GO games may be familiar with the term "Regular Expression", which includes the basic principles of the next method, urgent work, handbands, and life and death in various situations when playing chess, for example, Star, small-eye, and edge patterns. The more patterns you know, the better the GO games.

So is it true that the more database design patterns you know, the more perfect the design work?

In theory, this is the case, but here, you can see only four database design modes.

  • Many-to-many
  • NAME value
  • Master/Slave (one-to-many)
  • Primary extension (one-to-one)

Why are there only four instead of more? From time to time, is there a saying: "concentrated is the essence "!

In the subsequent articles, you will see the numerous design examples, but they are all designed using these four basic models. "Yi Chuan · Department of Speech" said: "Yi youtai Chi, is the birth of two, the birth of four, four Xiang gossip ." Lao Tzu also said in the Tao Sutra: "Tao Sheng Yi, his life is two, his life is three, and everything is three ."

There is no need for many design patterns. A complete database model can be derived as long as you master the key components and combine them with actual business needs.

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.