top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Deletes make index grown in MongoDB?

0 votes
273 views

We have a replicaset with 3 nodes, we have take in account than when we make a lot of deletes the index grown a lot (1GB). We do not understand why a delete make an index grown. We want to understand how grow an index, it reserve space or it is a continuous growing?. Has anyone information about index growing?

posted Mar 7, 2018 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

Please let me know the optimization techniques which can be used while there are millions of updates and deletes on mongoDB database collection through abinito job.
I am using mongodb bulk updates currently still performance is not up to mark, also there are multiple threads in abinitio job.

+1 vote

I have a collection (say X) in mongodb replicaset which is updated quite frequently. X is part of a database where there are about 10-12 collections with usePowerodfSize enabled but collection X does not have this setting enabled. After enabling usepowerof2size on other collections I have started noticing "key seems to have moved in the index, refinding. 71:4ca18000" error show up very often. Every time this happens, the disk I/o shoots up very high, mongodb process starts running very hot. As a result the connection to other members of the replicaset starts getting affected and they go completely out of sync.

I read some articles online saying that "key seems to have moved" if printed very in-frequently can be ignored. But no where i found an answer to what if this shows up very frequently and what does this indicate.

Any help would be greatly appreciated. (I use mongodb 2.4.9Everything i have mentioned above is as observed from the PRIMARY logs.)

...