Configure Block Size in a Blockstore¶
The different blockstores have different default sizes and ranges of sizes for blocks.
|Blockstore Type||Block Size Range||Default Size|
|MongoDB||64 KB to 15 MB||64 KB|
|S3||64 KB to 16 MB||16 MB|
You can change the block size to suit your use case.
In general, increasing block size 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 block size.
There are two exceptions where performance improves as the block size increases without requiring additional disk space:
|Update- and Delete-Intensive||No matter how small you make the block size, the entire block file is rewritten. Since the entire file is always rewritten, there is no difference in storage space if you change the block size.|
|Insert-only||The existing blocks never change. As you increase block size, block management is simplified. This enables the best possible performance on snapshot and restore.|