Navigation
This version of the documentation is archived and no longer supported. To learn how to upgrade your version of MongoDB Ops Manager, refer to the upgrade documentation.
You were redirected from a different version of the documentation. Click here to go back.

Configure the Size of the Blocks in the Blockstore

Overview

If you use the Backup Blockstore Database for snapshot storage, then when you back up a replica set, the Backup Daemon takes a snapshot of the data directory for the backed-up deployment, breaks it into blocks, and transfers the blocks to the Backup Blockstore Database.

By default, each block in the Backup Blockstore is 64KB, but you can configure the blocksize to suit your use case.

Considerations

In general, increasing blocksize results in faster snapshots and restores, but requires more disk space. These competing factors should be considered when determining if you wish to tune the blocksize.

For users with update and delete-intensive workloads, and thus with a poor de-duplication rate, increasing the blocksize provides performance improvements without requiring extra disk space. With update and delete-intensive workloads, no matter how small you make the blocksize the entire block file will need to be rewritten. Since the entire file is always being rewritten there isn’t any difference in storage space if you change the blocksize.

Users with insert-only workloads will also see the performance benefits of increasing blocksize without requiring additional disk space. With an insert-only workflow, the existing blocks never change: increasing blocksize then enables easier block management and the best possible performance on snapshot and restore.

Procedure

1

Open the Admin menu, and then select Backup tab.

2

Select the Jobs tab.

3

Click on the name of the replica set that you wish to edit.

4

Select the desired minimum blocksize from the drop-down menu..

Choose from 64KB through 15MB. By default, Ops Manager uses 64kb blocks.

Note

The updated minimum blocksize only applies to new and updated files in future snapshots. Existing blocks are not resized.

5

Click Update