Summary
configures caching of BTree nodes.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Config - Containing Type
- IConfiguration
Syntax
void BTreeCacheHeight(int height)
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 formula:
maxCachedNodes = bTreeNodeSize ^ bTreeCacheHeight
This setting should be used on both client and server in client-server environment.
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 formula:
maxCachedNodes = bTreeNodeSize ^ bTreeCacheHeight
This setting should be used on both client and server in client-server environment.
Parameters
| Name | Type | Description |
|---|---|---|
| height | int | the height of the cache from the root |
Return Value
| Type | Description |
|---|---|
| void |