- 1、本文档共10页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
讲解MySQL数据库的命名及设计规范(Explain the naming and design specifications of MySQL database)
讲解MySQL数据库的命名及设计规范(Explain the naming and design specifications of MySQL database)
1. design principles
1) standardization and standardization
The standardization of data helps to eliminate data redundancy in the database. There are several forms of standardization, but Third Normal Form (3NF) is generally considered to be the best balance in performance, scalability, and data integrity. In simple terms, table design principles to comply with the 3NF standard database is: One Fact in One Place is a table only includes its basic properties, when the property is not their inherent need to decompose. Relationships between tables are connected by foreign keys. It has the following features: there is a set of tables that store the associated data connected by keys.
Example: a 3NF database that stores customers and their orders may have two tables: Customer and Order. The Order table does not contain any information about the order associated with the customer, but a key value is stored in the table, which points to the line containing the customer information in the Customer table.
In fact, the standardization of tables is sometimes necessary for efficiency reasons.
2) data driven
Using data driven rather than hard coding methods, many policy changes and maintenance will be much easier, greatly enhancing the flexibility and scalability of the system.
For example, if the user interface wants to access external data sources (files, XML documents, other databases, etc.), you can store the corresponding connections and path information in the user interface support list. Also, if the user interface performs tasks such as workflow (sending mail, printing stationery, modifying record status, etc.), the data that generates the workflow can also be stored in the database. Role rights management can also be done by data driven. In fact, if the process is data-driven, you can push considerable responsibility to the user and maintain the workflow process by the user.
3) consider va
您可能关注的文档
- 脚手架通病控制(Scaffolding fault control).doc
- 脚手架工程(Scaffold Engineering).doc
- 脚手架安全防护使用措施(Scaffold, safety protection, application measures).doc
- 腊八·糗糕(Laba, cake.).doc
- 腊八之后是春天(Laba is followed by spring).doc
- 腊八细说(Laba.).doc
- 腰椎(Lumbar vertebra).doc
- 膝关节检查法(Knee joint examination).doc
- 腹针社区培训教材(Abdominal acupuncture; community training; teaching materials).doc
- 脚底按摩穴位图【实用】(Foot massage points diagram [utility]).doc
- 讲解Oracle数据库ORA-00257故障的解决过程(Explain the Oracle database ORA-00257 fault resolution process).doc
- 讲解型导游(Guided tour guide).doc
- 讲述光在影棚中的职责(About the duties of light in the studio).doc
- 讲述四大过来人考研失败教训总结(About four people over the exam, failure summary of the lesson).doc
- 讲述我的教育故事(Tell me about my education story).doc
- 讲述春天的故事(说课稿)-思想品德教学网(Telling the story of spring (Lecture Notes) - ideological and moral teaching network).doc
- 许嵩的一些歌(Some of Xu Song's songs).doc
- 访《思考中医》作者刘力红教授(Interview with Professor Liu Lihong, author of thinking about Chinese medicine).doc
- 讲解Oracle数据库ORA-00257故障的解决过程ssf(Explain the Oracle database ORA-00257 fault resolution process SSF).doc
- 讲述电信禁止路由上网的最佳破解方法(The best way to break the Internet for telecommunications is prohibited).doc
文档评论(0)