翻译或纠错本页面
- Release Notes >
- MongoDB 1.2.x发布笔记
MongoDB 1.2.x发布笔记¶
新特性¶
每个集合更多索引
更快的索引创建
Map Reduce
存储的JavaScript 函数
可配置的文件并行时间
一些新功能和修改
数据库升级需要¶
There are some changes that will require doing an upgrade if your previous version is <= 1.0.x. If you’re already using a version >= 1.1.x then these changes aren’t required. There are 2 ways to do it:
- --upgrade
使用一个slave
- start a slave on a different port and data directory
- when its synced, shut down the master, and start the new slave on the regular port.
Ask in the forums or IRC for more help.
Replication Changes¶
- There have been minor changes in replication. If you are upgrading a master/slave setup from <= 1.1.2 you have to update the slave first.
mongoimport¶
- mongoimportjson has been removed and is replaced with mongoimport that can do json/csv/tsv