lemontree8801
lemontree8801
写了一下MySQL与MongoDB的对比 ## 概念对比 |MySQL|MongoDB| |-|-| |Database|Database| |Table|Collection| |Row|JSON or BSON| |Column|Field| |Index|Index| |table joins(表连接)|$lookup或嵌套文档| |primary key(主键)|_id| |统计分析|aggregation| |Redo日志|Journal日志| |Binlog日志|Oplog日志| ## 模式语句对比 |SQL模式语句|MongoDB模式语句 |-|-| |create table|db.test.insert({x:1})或db.createCollection("test")| |alter table add column |db.test.update({},{'$set':{a:2}})|...
补充一点把 bigkey的分析与定位 还有hotkey的分析与定位 在redis性能问题里面 这个也很重要。。
## Summary ## Solution Description
## Summary ## Solution Description