& http: //www.aliyun.com/zixun/aggregation/37954.html "> nbsp;
Once collected data items, mongodb data storage, but when the data is large, mongodb data storage is still more difficult. Perhaps the level of application was not high at the time, it could be the server was not very strong at the time. So this time higher than before, and then the server is also a lot higher than before.
Compared with MySQL, MongoDB database is more suitable for those who read the heavy task model. MongoDB can take full advantage of the machine's memory resources. If the machine's memory rich, MongoDB query much faster.
The test server is dell's r510!
Memory is OK, is 48G, the disk is 10 2T, but because the formatting time is too long, buddy directly to pull out the other hard drive, it uses three disk. . . Data directory did not do raid, is to enable them to reflect a better hard disk speed. Since it is good to test under the python application, then you need to install the module under mongodb python!
Yes, I do not know mongodb-server installation or not to say?
1 2 3 4 5 cat /etc/yum.repos.d/10.repo [10gen] name = 10gen Repository baseurl = http: //downloads-distro.mongodb.org/repo/redhat/os/x86_64 gpgcheck = 0
Pymongo's basic usage