You are here: Configuration > Client Configuration > Prefetch Slot Cache Size

Prefetch Slot Cache Size

Configures how big the cache for prefetched data is. A larger cache can improve performance, but consumes more memory.

IClientConfiguration configuration = Db4oClientServer.NewClientConfiguration();
configuration.PrefetchSlotCacheSize = 1024;
ClientConfigurationExamples.cs: Configure the slot cache
Dim configuration As IClientConfiguration = Db4oClientServer.NewClientConfiguration()
configuration.PrefetchSlotCacheSize = 1024
ClientConfigurationExamples.vb: Configure the slot cache