juhi bhatia
unread,Feb 9, 2012, 12:57:32 AM2/9/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
Hi
I am in testing phase and testing my apps performance with inserting a
million records in mongodb.
After 239673 number of records got inserted in mongodb, I am getting
following error at mongos.log :
Wed Feb 8 14:37:40 [conn16] warning: could have autosplit on
collection: emgda.elements but: splitVector command failed: { errmsg:
"couldn't find index over splitting key", ok: 0.0 }
Wed Feb 8 14:37:40 [conn16] warning: could have autosplit on
collection: emgda.elements but: splitVector command failed: { errmsg:
"couldn't find index over splitting key", ok: 0.0 }
Wed Feb 8 14:37:40 [conn16] warning: could have autosplit on
collection: emgda.elements but: splitVector command failed: { errmsg:
"couldn't find index over splitting key", ok: 0.0 }
For the collection emgda.elements:
The dataSize is : 61395840
The storageSize is: 86114304
The totalSize is : 170809488
What does this error mean?
db.printCollectionStats() gives the following:
elements
{
"sharded" : true,
"flags" : 1,
"ns" : "emgda.elements",
"count" : 239673,
"numExtents" : 11,
"size" : 61395840,
"storageSize" : 86114304,
"totalIndexSize" : 84695184,
"indexSizes" : {
"_id_" : 7791728,
"createdTimestamp_1" : 6712496,
"customerId_1" : 6892368,
"customerId_1_elementId_1_createdTimestamp_1" :
17128720,
"customerId_1_siteId_1_elementId_1_createdTimestamp_1" : 24528000,
"elementId_1" : 9966544,
"siteId_1" : 11675328
},
"avgObjSize" : 256.16502484635316,
"nindexes" : 7,
"nchunks" : 1,
"shards" : {
"shard1" : {
"ns" : "emgda.elements",
"count" : 239673,
"size" : 61395840,
"avgObjSize" : 256.16502484635316,
"storageSize" : 86114304,
"numExtents" : 11,
"nindexes" : 7,
"lastExtentSize" : 20881408,
"paddingFactor" : 1,
"flags" : 1,
"totalIndexSize" : 84695184,
"indexSizes" : {
"_id_" : 7791728,
"createdTimestamp_1" : 6712496,
"siteId_1" : 11675328,
"elementId_1" : 9966544,
"customerId_1" : 6892368,
"customerId_1_elementId_1_createdTimestamp_1" : 17128720,
"customerId_1_siteId_1_elementId_1_createdTimestamp_1" : 24528000
},
"ok" : 1
}
},
"ok" : 1
}
---
system.indexes
{
"sharded" : false,
"primary" : "shard1",
"ns" : "emgda.system.indexes",
"count" : 7,
"size" : 784,
"avgObjSize" : 112,
"storageSize" : 12288,
"numExtents" : 1,
"nindexes" : 0,
"lastExtentSize" : 12288,
"paddingFactor" : 1,
"flags" : 0,
"totalIndexSize" : 0,
"indexSizes" : {
},
"ok" : 1
}
---