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_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.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 in the extreme case a transaction for each page in cache.

When all of the memory available in the database environment for transactions is in use, calls to BeginTransaction()()() 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