MongoDB
무엇에 쓰는 물건인가?
mongo는 humongous를 줄인 표현. 즉 '겁나 큰 DB'라는 뜻.
NoSQL이라 비정형 데이터를 저장하기 쉽다는 너무 흔한 장점이고, RDB 대비 가장 큰 강점은 수평적 확장(Scale out - 대비되는 RDB는 수직적 확장 Scale up) 이 무진장 쉽다.
Document는 JSON-like document(binary JSON, BSON)로 저장된다.
key/value 구조.
document는 RDB의 row
같은 성질의 document가 모인 collection은 RDB의 table.
RDB 대비 referential integrity, transaction이 떨어진다. 그러나 MongoDB도 transaction ACID(atomicity, consistency, isolation and durability)를 지원한다?
In MongoDB, joins are supported with the $lookup operation, but they are less needed due to the way MongoDB documents tend to be used;
MongoDB is also optimized for write performance
관심사는 검색 속도와 한 collection에 저장가능한 수인데.
Since MongoDB's document model stores related data together, it is often faster to retrieve a single document from MongoDB than to JOIN data across multiple tables in MySQL.
좋은 점만 있는데??
Comparing the Differences - MongoDB vs MySQL
Understand the differences between MongoDB and MySQL, the scalability and security options for each offering, and which database to use when.
www.mongodb.com
MongoDB - 나무위키
2018년까지는 GNU Affero General Public License(AGPL)에 기반하여 공개되었다. 그러나 클라우드 업체들이 MongoDB를 그대로 이용하면서 라이선스 계약 없이 수익을 챙기고, 오픈소스 커뮤니티에는 기여를 하
namu.wiki
www.blog-dreamus.com/post/flo-tech-mongodb-%EB%8F%84%EC%9E%85%EA%B8%B0
MongoDB - 도입기
FLO의 개인화 서비스 제공으로 늘어난 데이터 볼륨과 부하량, 어떠한 방법으로 해결했을까요?
www.blog-dreamus.com