MySQL Database Design notes and summaries (3) Physical design

Source: Internet
Author: User

"The work of physical design"

① Choosing the Right Database management system: Oracle,sqlserve,mysql,pgsql

② defining naming conventions for databases, tables, and fields

③ Select the appropriate field type according to the selected DBMS system

④ Anti-Normalization design-consider reading efficiency and adding appropriate redundancy in some tables (space change time)

"Database Selection"

"MySQL Common Storage Engine"

Note: Archive is primarily used to store logs; the Ndb cluster is the storage engine used by the MySQL cluster (memory-based cluster).

"Naming rules for tables and fields"

"Establishing database and table structure--Selection principle of field type"

(Personal experience, choose datetime convenient to view, while DateTime can also directly compare size)

Note: TIMESTAMP maximum 2037 years.

"Select field type"

A fixed length of data, such as a social security number or a telephone, can be stored using char.

MySQL Database Design notes and summaries (3) Physical 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.