Abhinav Dhasmana
2012-10-31 04:57:37 UTC
Hi
I have a collection where I have object for each user and i do multiple
insert, delete within this object. I moved to a new hardware 7 days ago and
db was complaining of space. When i did db.collection.stats(), I see this
{
"ns" : "****.newsfeeds",
"count" : 8792053,
"size" : 327911847456,
"avgObjSize" : 37296.391122301015,
"storageSize" : 927976117552,
"numExtents" : 453,
"nindexes" : 2,
"lastExtentSize" : 2146426864,
"paddingFactor" : 1.001000006715619,
"systemFlags" : 1,
"userFlags" : 0,
"totalIndexSize" : 674650816,
"indexSizes" : {
"_id_" : 303525824,
"user_id_1" : 371124992
},
"ok" : 1
}
Looking at this, i cannot understand why there is such a huge diff in size
and storage size.
"size" : 327911847456,
"storageSize" : 927976117552,
Thanks
Abhinav
I have a collection where I have object for each user and i do multiple
insert, delete within this object. I moved to a new hardware 7 days ago and
db was complaining of space. When i did db.collection.stats(), I see this
{
"ns" : "****.newsfeeds",
"count" : 8792053,
"size" : 327911847456,
"avgObjSize" : 37296.391122301015,
"storageSize" : 927976117552,
"numExtents" : 453,
"nindexes" : 2,
"lastExtentSize" : 2146426864,
"paddingFactor" : 1.001000006715619,
"systemFlags" : 1,
"userFlags" : 0,
"totalIndexSize" : 674650816,
"indexSizes" : {
"_id_" : 303525824,
"user_id_1" : 371124992
},
"ok" : 1
}
Looking at this, i cannot understand why there is such a huge diff in size
and storage size.
"size" : 327911847456,
"storageSize" : 927976117552,
Thanks
Abhinav
--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongodb-user-/***@public.gmane.org
To unsubscribe from this group, send email to
mongodb-user+unsubscribe-/***@public.gmane.org
See also the IRC channel -- freenode.net#mongodb
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongodb-user-/***@public.gmane.org
To unsubscribe from this group, send email to
mongodb-user+unsubscribe-/***@public.gmane.org
See also the IRC channel -- freenode.net#mongodb