# Improving performance Percona Mongo v3.6.17-4.0 standalone

**URL:** <https://forums.percona.com/t/improving-performance-percona-mongo-v3-6-17-4-0-standalone/8397>\
**Category:** Percona Server for MongoDB\
**Tags:** mongodb\
**Created:** [December 16, 2020, 3:22am UTC](https://forums.percona.com/t/improving-performance-percona-mongo-v3-6-17-4-0-standalone/8397 "2020-12-16T03:22:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbiancot](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jbiancot/32/6030_2.png) [@jbiancot](https://forums.percona.com/u/jbiancot)\
**Post date:** [December 16, 2020, 3:22am UTC](https://forums.percona.com/t/improving-performance-percona-mongo-v3-6-17-4-0-standalone/8397/1 "2020-12-16T03:22:16Z")

</div>

Hi there,

On the daily basis, from a ReplicaSet a dump is made, we start a standalone server, removing any replicaSet configuration, on that standalone server a Java application will sanitized/scrambling personal data like lastnames, e-mails, etc. The Java application uses multithreading. Running some updateMany over some collection takes many hours, we can have around 300K e-mails to be sanitized/scrambling. We have a “kind of big” collection of 45GB “73 MM of documents on that collection and many indexes”, the entire database is about 91GB, the Debian 8 box has 14GB of RAM.

From Mongo config, I have setup a bit more of cacheSizeGB to try to improve some performance. I was wondering what other settings I can modify to try to get performance?

wiredTiger:

engineConfig:

```
 cacheSizeGB: 10

```

# checkpointSizeMB: 1000

# statisticsLogDelaySecs: 0

# journalCompressor: snappy

# directoryForIndexes: false

# collectionConfig:

# blockCompressor: snappy

# indexConfig:

# prefixCompression: true

The next setting to try will be to disable the journal, and see if it will increase some performance.

Server: Percona Mongo v3.6.17-4.0 standalone

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Ivan\_Groenewold](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ivan_groenewold/32/6299_2.png) [@Ivan\_Groenewold](https://forums.percona.com/u/Ivan_Groenewold)\
**Post date:** [December 16, 2020, 5:54am UTC](https://forums.percona.com/t/improving-performance-percona-mongo-v3-6-17-4-0-standalone/8397/2 "2020-12-16T05:54:57Z")

</div>

Hi, disabling the journal will help in terms of performance but be careful about the durability. Are you using the unordered bulk write functionality? that should be faster as well:

[https://docs.mongodb.com/manual/reference/method/db.collection.bulkWrite/#bulkwrite-write-operations-updateonemany](https://docs.mongodb.com/manual/reference/method/db.collection.bulkWrite/#bulkwrite-write-operations-updateonemany)
