Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » ConfigPersistent interface

 

setCacheSize function

Sets the cache size of the database, in bytes.

Syntax
ConfigPersistent ConfigPersistent.setCacheSize(
  int cache_size
) throws ULjException
Parameters
  • cache_size¬†¬† The cache size.

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.