-
Notifications
You must be signed in to change notification settings - Fork 8
DOC-557 | arangodump improved performance & resource usage limits #295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
5a6070c
d430a50
bdd4f2f
3ec87c9
c512b04
9aa9ef3
fcc67bc
b4046dc
543d2e5
eaa43c6
09b5380
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -222,5 +222,59 @@ of outgrowing the maximum number of file descriptors the ArangoDB process | |
| can open. Thus, these options should only be enabled on deployments with a | ||
| limited number of collections/shards/indexes. | ||
|
|
||
| ## Client tools | ||
|
|
||
| ### arangodump | ||
|
|
||
| #### Improved dump performance | ||
|
|
||
| ArangoDB 3.12 includes extended parallelization capabilities to work not only | ||
Simran-B marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| at the collection level, but also at the shard level. In combination with the | ||
| new optimized format, database dumps are now created and restored quickly and | ||
| occupy minimal disk space. This major performance boost makes dumps five times | ||
|
||
| faster and restores three times faster, which is extremely useful when dealing | ||
| with large shards. | ||
Simran-B marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| #### Resource usage limits | ||
|
|
||
| The following startup options that can be used to limit | ||
| the resource usage of parallel _arangodump_ invocations have been added: | ||
Simran-B marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - `--dump.max-memory-usage`: Maximum memory usage (in bytes) to be | ||
| used by the server-side parts of all ongoing _arangodump_ invocations. | ||
| This option can be used to limit the amount of memory for prefetching | ||
| and keeping results on the server side when _arangodump_ is invoked | ||
| with the `--parallel-dump` option. It does not have an effect for | ||
| _arangodump_ invocations that did not use the `--parallel-dump` option. | ||
| Note that the memory usage limit is not exact and that it can be | ||
| slightly exceeded in some situations to guarantee progress. | ||
| - -`-dump.max-docs-per-batch`: Maximum number of documents per batch | ||
| that can be used in a dump. If an _arangodump_ invocation requests | ||
| higher values than configured here, the value is automatically | ||
| capped to this value. Will only be followed for _arangodump_ invocations | ||
| that use the `--parallel-dump` option. | ||
| - `--dump.max-batch-size`: Maximum batch size value (in bytes) that | ||
| can be used in a dump. If an _arangodump_ invocation requests larger | ||
| batch sizes than configured here, the actual batch sizes is capped | ||
| to this value. Will only be followed for arangodump invocations that | ||
| use the -`-parallel-dump` option. | ||
| - `--dump.max-parallelism`: Maximum parallelism (number of server-side | ||
| threads) that can be used in a dump. If an _arangodump_ invocation requests | ||
| a higher number of prefetch threads than configured here, the actual | ||
| number of server-side prefetch threads is capped to this value. | ||
| Will only be followed for _arangodump_ invocations that use the | ||
| `--parallel-dump` option. | ||
|
|
||
| The following metrics have been added to observe the behavior of parallel | ||
| _arangodump_ operations on the server: | ||
|
|
||
| - `arangodb_dump_memory_usage`: Current memory usage of all ongoing | ||
| _arangodump_ operations on the server. | ||
| - `arangodb_dump_ongoing`: Number of currently ongoing _arangodump_ | ||
| operations on the server. | ||
| - `arangodb_dump_threads_blocked_total`: Number of times a server-side | ||
| dump thread was blocked because it honored the server-side memory | ||
| limit for dumps. | ||
|
|
||
| ## Internal changes | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.