1
0
Fork 0

updated documentation

This commit is contained in:
jsteemann 2017-05-31 11:33:57 +02:00
parent 5433c000fc
commit 098d9d2c00
2 changed files with 15 additions and 1 deletions

View File

@ -100,4 +100,11 @@ is committed automatically and a new transaction is started. The value is specif
If the number of operations in a transaction reaches this value, the transaction is
committed automatically and a new transaction is started.
The above values can also be adjusted per transaction.
The above values can also be adjusted per transaction, by setting the following
attributes in the call to *db._executeTransaction()*:
- *maxTransactionSize*: transaction size limit in bytes
- *intermediateCommitSize*: maximum total size of operations after which an intermediate
commit is performed automatically
- *intermediateCommitCount*: maximum number of operations after which an intermediate
commit is performed automatically

View File

@ -60,6 +60,13 @@ Additionally, *object* can have the following optional attributes:
- *params*: optional arguments passed to the function specified in
*action*.
The following attributes can be used for transactions in the RocksDB storage engine:
- *maxTransactionSize*: transaction size limit in bytes
- *intermediateCommitSize*: maximum total size of operations after which an intermediate
commit is performed automatically
- *intermediateCommitCount*: maximum number of operations after which an intermediate
commit is performed automatically
### Declaration of collections