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:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version:


public uint MaxTransactions { get; set; }
Visual Basic (Declaration)
Public Property MaxTransactions As UInteger
Visual C++
property unsigned int MaxTransactions {
	unsigned int get ();
	void set (unsigned int value);


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.

See Also