[英]Normalisation in NoSQL in Mongo DB
The first table is for products, how would I normalize this data. 第一张表是针对产品的,我将如何标准化这些数据。
IMAT3104 Database Management and Programming Assignment 2017-18 De Montfort University 2018 Page 6 of 11 IMAT3104数据库管理和编程作业2017-18蒙福特大学2018年第6页,共11页
The second table is for reviews and how would I normalize this table as well. 第二张表用于评论,我也将如何规范该表。
What is the process of normalization and how can I organize the above 2 tables? 规范化的过程是什么,如何组织以上两个表?
Normalization--a strictly logical process--is the same whether the target platform is a SQL dbms, a large scale C++ program, or a nosql database. 无论目标平台是SQL dbms,大型C ++程序还是nosql数据库,规范化(严格的逻辑过程)都是相同的。
Following the normalization procedures in any good, college-level textbook, normalize every relation to 5NF. 遵循任何好的大学级教科书中的规范化程序,将与5NF的每个关系规范化。 Then translate the results to your target platform.
然后将结果转换到您的目标平台。 (You'll often have to translate declarative code to procedural code.)
(您通常必须将声明性代码转换为过程代码。)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.