Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
-
ALL
Description
I tried to use https://docs.mongodb.com/manual/reference/command/dataSize/#mongodb-dbcommand-dbcmd.dataSize command to obtain exact size of database records mathing the specified key-range, like:
db.runCommand({
|
dataSize: "mydb.mycollection", |
keyPattern: { "_id": 1 }, |
min: { "_id": new ObjectId("606ded0a249ef5c340ea248e") }, |
max: { "_id": new ObjectId("606ded0a249ef5c340ea248e") } |
})
|