engine: 'mmapv1'
from pymongo import MongoClient
conn = MongoClient(host='ms1:34567')
db = conn.hmfs
time db.forms.find({'dimension':int(2),'degree':int(2)}).count()
CPU times: user 4 ms, sys: 0 ns, total: 4 ms
Wall time: 185 ms
0
2016-06-28T05:10:12.412+0000 I COMMAND [conn15] command hmfs.forms command: count { count: "forms", query: { dimension: 2, degree: 2 } } planSummary: IXSCAN { dimension: -1, field_label: 1, level_norm: -1 } keyUpdates:0 writeConflicts:0 numYields:447 reslen:62 locks:{ Global: { acquireCount: { r: 896 } }, MMAPV1Journal: { acquireCount: { r: 448 } }, Database: { acquireCount: { r: 448 } }, Collection: { acquireCount: { R: 448 } } } protocol:op_query 181ms
> db.stats(1024*1024)
{
"db" : "hmfs",
"collections" : 3,
"objects" : 368392,
"avgObjSize" : 248291.20771352254,
"dataSize" : 87231.15405273438,
"storageSize" : 88116.09313964844,
"numExtents" : 67,
"indexes" : 17,
"indexSize" : 205.6210479736328,
"fileSize" : 90005,
"nsSizeMB" : 16,
"extentFreeList" : {
"num" : 0,
"totalSize" : 0
},
"dataFileVersion" : {
"major" : 4,
"minor" : 22
},
"ok" : 1
engine: 'wiredTiger'
wiredTiger:
collectionConfig:
blockCompressor: none
from pymongo import MongoClient
conn = MongoClient(host='ms1:23456')
db = conn.hmfs
time db.forms.find({'dimension':int(2),'degree':int(2)}).count()
CPU times: user 200 ms, sys: 48 ms, total: 248 ms
Wall time: 6min 9s
0
2016-06-28T05:09:22.454+0000 I COMMAND [conn4] command hmfs.forms command: count { count: "forms", query: { dimension: 2, degree: 2 } } planSummary: IXSCAN { dimension: -1, field_label: 1, level_norm: -1 } fromMultiPlanner:1 keyUpdates:0 writeConflicts:0 numYields:13831 reslen:62 locks:{ Global: { acquireCount: { r: 27664 } }, Database: { acquireCount: { r: 13832 } }, Collection: { acquireCount: { r: 13832 } } } protocol:op_query 369464ms
> db.stats(1024*1024)
{
"db" : "hmfs",
"collections" : 1,
"objects" : 368356,
"avgObjSize" : 205668.8590086764,
"dataSize" : 72249.75417041779,
"storageSize" : 72618.22265625,
"numExtents" : 0,
"indexes" : 17,
"indexSize" : 43.0703125,
"ok" : 1
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/a8d4b536-f5ad-4f07-98b3-3c245de205b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CAOe6dJC0%2BAHNpRF8tmEq7v6E%3DQzxaz5zFoZi%2Bk%3DANuDC5LQ91w%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/4IW3rvgeGh4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CAFfBxfHikoKok14bYO3_LWpE1pZKL2gNVX6j%3DqD1OoB3G5t8LQ%40mail.gmail.com.