setCacheSize method

Sets the cache size of the database, in bytes.

Syntax
ConfigPersistent ConfigPersistent.setCacheSize(
  int cache_size
) throws ULjException
Parameters
  • cache_size   The cache size. The default cache size is 20480 (20KB) on all platforms.

Remarks

The cache size determines the number of database pages resident in the page cache. Increasing the size means less reading and writing of database pages, at the expense of increased time to locate pages in the cache.

Returns

This ConfigPersistent with the cache size set.