|
With prior versions of the server the result of the collStats command included a field called "systemFlags" as documented here:
http://docs.mongodb.org/manual/reference/command/collStats/#output
Here's the result of collStats with server version 2.6.5:
> db.version()
|
2.6.5
|
> db.runCommand({ create : "test" })
|
{ "ok" : 1 }
|
> db.runCommand({ collStats : "test" })
|
{
|
"ns" : "test.test",
|
"count" : 0,
|
"size" : 0,
|
"storageSize" : 8192,
|
"numExtents" : 1,
|
"nindexes" : 1,
|
"lastExtentSize" : 8192,
|
"paddingFactor" : 1,
|
"systemFlags" : 1,
|
"userFlags" : 1,
|
"totalIndexSize" : 8176,
|
"indexSizes" : {
|
"_id_" : 8176
|
},
|
"ok" : 1
|
}
|
and here's the result of collStats with server version 2.7.7:
> db.version()
|
2.7.7
|
> db.runCommand({ create : "test" })
|
{ "ok" : 1 }
|
> db.runCommand({ collStats : "test" })
|
{
|
"ns" : "test.test",
|
"count" : 0,
|
"size" : 0,
|
"numExtents" : 1,
|
"storageSize" : 8192,
|
"nindexes" : 1,
|
"lastExtentSize" : 8192,
|
"paddingFactor" : 1,
|
"userFlags" : 1,
|
"totalIndexSize" : 8176,
|
"indexSizes" : {
|
"_id_" : 8176
|
},
|
"ok" : 1
|
}
|
>
|
|