Mongodb日志:2018-05-22T17:49:52.493+0800 I COMMAND [conn21061] serverStatus was very slow: { after basic: 0, after asserts: 0, after backgroundFlushing: 0, after connections: 0, after dur: 0, after extra_info: 0, after globalLock: 0, after locks: 0, after network: 0, after opLatencies: 0, af...【阅读全文】
最好禁掉OPENSSL和SASL,cd c:/path/to/mongoc/ cd src/libbson # Configure and install libbsoncmake.exe -G "Visual Studio 14 2015 Win64" \ -DCMAKE_INSTALL_PREFIX=c:/mongocmsbuild.exe ALL_BUILD.vcxprojmsbuild.exe INSTALL.vcxproj # Installs libbsoncd ../.. # Go back to the root folder of the releas...【阅读全文】
最好禁掉OPENSSL和SASL,cd c:/path/to/mongoc/ cd src/libbson # Configure and install libbsoncmake.exe -G "Visual Studio 14 2015 Win64" \ -DCMAKE_INSTALL_PREFIX=c:/mongocmsbuild.exe ALL_BUILD.vcxprojmsbuild.exe INSTALL.vcxproj # Installs libbsoncd ../.. # Go back to the root folder of the releas...【阅读全文】
索引测试1.往表里写入数据> function add3(){var i = 0;for(;i add3()2.没有索引的情况下查询db.students.find({name:"huang26"}).explain();db.students.find({name:"huang26"}).explain("executionStats");db.students.find({"_id" : ObjectI...【阅读全文】