Consolidation and Vacuuming
Last updated
Was this helpful?
Last updated
Was this helpful?
You can consolidate an array as follows. See for how to fine-tune the consolidation algorithm with configuration parameters, and for more details on creating configuration objects.
The same consolidation API is used for consolidating commits
. The only change is configuration parameter "sm.consolidation.mode"
which should now be set to "commits"
.
After consolidation, you may optionally remove the consolidated fragments with the "vacuum" step. Note that vacuuming must not be run if you intend to use the time-traveling feature (opening array at a specific prior timestamp).
The same vacuuming API is used for vacumming commits
. The only change is configuration parameter "sm.vacuum.mode"
which should now be set to "commits"
.
The same consolidation API is used for consolidating . The only change is configuration parameter "sm.consolidation.mode"
which should now be set to "fragment_meta"
.
The same consolidation API is used for consolidating . The only change is configuration parameter "sm.consolidation.mode"
which should now be set to "array_meta"
.
The same vacuuming API is used for vacuuming . The only change is configuration parameter "sm.vacuum.mode"
which should now be set to "fragment_meta"
.
The same vacuuming API is used for vacuuming . The only change is configuration parameter "sm.vacuum.mode"
which should now be set to "array_meta"
.