What is MySQL?
As one of relational system (RDBMS), MySQL stores data in tables and uses structured query language (SQL) for DB access. (SQL을 이용해 데이터 접근)
In MySQL, database schema is predefine and rules of the relationship between fields in tables are set up. (디비 스키마-구조-가 필요에 의해 미리 설정)
related information is stored in separate tables and associated through the use of joins.
data duplication is minimized. (관련 정보가 여러 테이블에 분산, DB의 중복이 없음)
What is MongoDB?
MongoDB is an open-source database developed by MongoDB, Inc.
MongoDB stores data in JSON-like documents that can vary in structure. (MongoDB는 data를 JSON과 같은 형태로 문서화 시켜 저장함. 즉, 이 정보는 어떤 구조의 DB 든 다양하게 적용될 수 있음)
Related information is stored together for fast query access through the MongoDB query language. (고로 데이터는 분리된 테이블이 아니라 하나로 모여 저장됨. >> 속도 빠름.)
MongoDB uses dynamic schemas, meaning that you can create records without first defining the structure, such as the fields or the types of their values. (유동적 스키마를 쓰기 때문에 데이터 구조-데이터 타입, 연결관계 등)을 설정하지 않아도 된다.)
You can change the structure of records ( = document DB의 구조 ) simply by adding new fields or deleting existing ones. This data model give you the ability to represent hierarchical relationships, to store arrays, and other more complex structures easily. (DB의 구조를 쉽게 바꿀 수 있고, 복잡한 DB구조도 쉽게 저장 등을 할 수 있게 해준다) Documents in a collection need not have an identical set of fields and denormalization of data is common. MongoDB was also designed with high availability and scalability in mind, and includes out-of-the-box replication and auto-sharding.
Next
« Prev Post
« Prev Post
Previous
Next Post »
Next Post »
Subscribe to:
Post Comments (Atom)
1 comments:
Write commentsThank you for sharing this on your blog! It is very helpful for my insight! Please update more posts about this. Would love to see more updates from you.
ReplyWebsite Development
EmoticonEmoticon