During upgrade, each OrientDB database is checkpointed using standard OrientDB backup API.
Two backup options we hardcode defaults for are compressionLevel and bufferSize at 9 and 16kb respectively. These defaults are optimized for high compression to save disk space and low RAM utilization for a server system at the cost of speed.
The API call is made here:
NXRM also includes an "Admin Exported databases for backup" task used to perform regular backups. The defaults in this case, up to at least version 3.16.2, for compression level and buffer size are defaulted to 9 and 1kb respectively. These defaults are optimized for high compression and low RAM utilization.
Desire
In most situations the defaults are not optimal - for example where backups are noticed to be CPU bound ( high compression) or taking a long time to complete and not I/O bound ( local share ) or RAM constrained ( server level mem settings ).
Expected
- allow configuring the default checkpoint backup values by way of system properties
- use the same system properties already defined by the task - there is no reason to act differently by default during checkpoint backup vs task backup
- the default values of the system properties should be aligned in every case where an OrientDB backup is performed
- relates
-
NEXUS-20104 OrientDB database backups default compression level and buffer size are not optimized
-
- Closed
-