DB/MongoDB 2015. 3. 16. 11:26


References

References store the relationships between data by including

links or references from one document to another. 

Applications can resolve these references to access the 

related data. Broadly, these arenormalized data models.


See Normalized Data Models for the strengths and 

weaknesses of using references.


Embedded Data

Embedded documents capture relationships between data 

by storing related data in a single document structure. 

MongoDB documents make it possible to embed document

 structures as sub-documents in a field or array within a 

document. These denormalized data models allow 

applications to retrieve and manipulate related data 

in a single database operation.

See Embedded Data Models for the strengths and 

weaknesses of embedding sub-documents.

 

출처: <http://docs.mongodb.org/manual/core/data-modeling-introduction/>

 


'DB > MongoDB' 카테고리의 다른 글

[mongodb] pymongo 예시  (0) 2015.03.16
[mongodb] command 요약  (0) 2015.03.16
[mongodb] mongo 결과 파일 출력  (0) 2015.03.03
[mongodb] 용어&쿼리비교  (0) 2015.01.07
mongodb 설치  (0) 2015.01.07
posted by cozyboy
: