File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,12 @@ def command_dump(opts):
31
31
are performed using ASCIIbetical ordering.
32
32
33
33
Processing options:
34
- -j PARALLELISM The number of CPUs to use for decompression.
34
+ -j PARALLELISM The number of CPUs to use for decompression. Note
35
+ that if you know that you are only reading a small
36
+ number of records, then -j0 may be the fastest
37
+ option, since it reduces startup overhead.
35
38
[default: guess]
39
+
36
40
Output options:
37
41
-o FILE, --output=FILE Output to the given file, or "-" for stdout.
38
42
[default: -]
Original file line number Diff line number Diff line change @@ -220,6 +220,11 @@ class ZS(object):
220
220
``parallelism="guess"`` means to spawn one worker process per available
221
221
CPU.
222
222
223
+ Note that if you know that you are going to read just a few records on
224
+ each search, then parallelism=0 may be slightly faster; this saves the
225
+ overhead of setting up the worker processes, and they only really help
226
+ when doing large bulk reads.
227
+
223
228
:arg index_block_cache: The number of index blocks to keep cached in
224
229
memory. This speeds up repeated queries. Larger values provide better
225
230
caching, but take more memory. Usually you'll want this to at least be
You can’t perform that action at this time.
0 commit comments