mongodb bulk upsert with long pauses

Visto 24 veces
Saltar al primer mensaje no leído

Gerold Böhler

no leída,
3 may 2016, 9:42:193/5/16
a mongodb-user
Hi all,

so i have a script that bulk upserts batches of 1000's into a sharded cluster, as well as in a replica set. In the beginning, everything worked fine but after a while, the script kept pausing for seconds, now minutes and even hours, before it continues to run.

I have monitored the db servers and the cpu seems to be busy, but theres no i/o during the pauses. My guess is that its creating indexes so i tried monitoring the index creation process but with no luck.

So i am kind of stuck and don't know where to look next, any hint is greatly appreciated!

Gerold

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos