diff options
author | Eric Wong <e@yhbt.net> | 2020-07-24 05:56:02 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-07-25 20:48:18 +0000 |
commit | 0e68dbad3dc5e3fbc44e8ba8be576b81455d3359 (patch) | |
tree | dfe57fccc97fdf43ce68f3ae6f5cc804a00520df /Documentation | |
parent | de8e1586d732ae6c09a92588a8e4d442aedbff37 (diff) | |
download | public-inbox-0e68dbad3dc5e3fbc44e8ba8be576b81455d3359.tar.gz |
This allows us to speed up indexing operations to SQLite and Xapian. Unfortunately, it doesn't affect operations using `xapian-compact' and the compactor API, since that doesn't seem to support Xapian::DB_NO_SYNC, yet.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/public-inbox-index.pod | 7 | ||||
-rw-r--r-- | Documentation/public-inbox-xcpdb.pod | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/public-inbox-index.pod b/Documentation/public-inbox-index.pod index 08f2fbf4..aeb1b3a3 100644 --- a/Documentation/public-inbox-index.pod +++ b/Documentation/public-inbox-index.pod @@ -113,6 +113,13 @@ below. Available in public-inbox 1.6.0 (PENDING). +=item --no-sync + +Disables L<fsync(2)> and L<fdatasync(2)> operations on SQLite +and Xapian. This is only effective with Xapian 1.4+. + +Available in public-inbox 1.6.0 (PENDING). + =back =head1 FILES diff --git a/Documentation/public-inbox-xcpdb.pod b/Documentation/public-inbox-xcpdb.pod index 149c8f78..7fe1e5fe 100644 --- a/Documentation/public-inbox-xcpdb.pod +++ b/Documentation/public-inbox-xcpdb.pod @@ -45,6 +45,12 @@ too many shards given the capabilities of the current hardware. These options are passed directly to L<xapian-compact(1)> when used with C<--compact>. +=item --no-sync + +Disable L<fsync(2)> and L<fdatasync(2)>. + +Available in public-inbox 1.6.0 (PENDING). + =back =head1 ENVIRONMENT |