The number of active transactions supported by the environment. This
value bounds the size of the memory allocated for transactions.
Child transactions are counted as active until they either commit or
abort.
Namespace:
BerkeleyDBAssembly: libdb_dotnet52 (in libdb_dotnet52.dll) Version: 5.2.28.0
Syntax
C# |
---|
public uint MaxTransactions { get; set; } |
Visual Basic (Declaration) |
---|
Public Property MaxTransactions As UInteger |
Visual C++ |
---|
public: property unsigned int MaxTransactions { unsigned int get (); void set (unsigned int value); } |
Remarks
Transactions that update multiversion databases are not freed until the last page version that the transaction created is flushed from cache. This means that applications using multi-version concurrency control may need a transaction for each page in cache, in the extreme case.
When all of the memory available in the database environment for transactions is in use, calls to BeginTransaction()()() will fail (until some active transactions complete). If MaxTransactions is never set, the database environment is configured to support at least 100 active transactions.