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.

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


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.


This ConfigPersistent with the cache size set.