Upload
todd-atkinson
View
227
Download
5
Embed Size (px)
Citation preview
MongoDB
Jer-Shuan Lin
Outline
• MongoDB Introduction
• MongoDB vs MySQL
• Conclusion
MongoDB Introduction
• MongoDB(Mongo is from "humongous") • NoSQL database • Writed in C++• MongoDB’s characteristics• No schema • Document-Oriented (Bson type)
• Support• Replica• Sharding• Index
MongoDB vs MySQL
• Comparison in term
MySQL MongoDB
MongoDB vs MySQL(2)
• Comparison in sql MongoDB
MySQL
MongoDB vs MySQL(3)
• Comparison in transaction
MySQL-ACID MongoDB-BASEAtomic Basic Availability Consistent Soft-stateIsolated Eventual consistencyDurable
Conclusion
• Advantage• Cost-down• Better performance for I/O• Support horizontal scaling
• Disadvantage• Not support all sql(ex:join)• Not support transactions based on ACID