[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
configures caching of BTree nodes.
Namespace: Db4objects.Db4o.Config
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub BTreeCacheHeight ( _ height As Integer _ ) |
C# |
---|
void BTreeCacheHeight ( int height ) |
Visual C++ |
---|
void BTreeCacheHeight ( int height ) |
Parameters
- height
- System.Int32
the height of the cache from the root
Remarks
configures caching of BTree nodes.
Clean BTree nodes will be unloaded on #commit and #rollback unless they are configured as cached here.
Default setting: 0
Possible settings: 1, 2 or 3
The potential number of cached BTree nodes can be calculated with the following forumula:
maxCachedNodes = bTreeNodeSize ^ bTreeCacheHeight
Clean BTree nodes will be unloaded on #commit and #rollback unless they are configured as cached here.
Default setting: 0
Possible settings: 1, 2 or 3
The potential number of cached BTree nodes can be calculated with the following forumula:
maxCachedNodes = bTreeNodeSize ^ bTreeCacheHeight