You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fl...@apache.org on 2017/11/19 15:25:43 UTC
[couchdb-documentation] 03/04: Add usage suggestions,
taken from the old wiki
This is an automated email from the ASF dual-hosted git repository.
flimzy pushed a commit to branch batch
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
commit 18f7722697589b3e89222eb0a1df5a26f42eef53
Author: Jonathan Hall <fl...@flimzy.com>
AuthorDate: Sun Nov 19 16:21:50 2017 +0100
Add usage suggestions, taken from the old wiki
---
src/api/database/common.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/api/database/common.rst b/src/api/database/common.rst
index 22d7040..cb067a9 100644
--- a/src/api/database/common.rst
+++ b/src/api/database/common.rst
@@ -416,6 +416,9 @@ before they are committed to disk. This increases the risk of the documents not
being stored in the event of a failure, since the documents are not written to
disk immediately.
+Batch mode is not suitable for critical data, but may be ideal for applications
+such as log data, when the risk of some data loss due to a crash is acceptable.
+
To use batched mode, append the ``batch=ok`` query argument to the URL of the
``PUT``, :post:`/{db}`, or ``DELETE`` request. The CouchDB server will respond
with an HTTP :statuscode:`202` response code immediately.
--
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.