SQL Anywhere stores recently used pages in a cache. If a request needs access to the page more than once, or should another connection require the same page, it may find it already in memory and avoid having to read information from disk. This is especially an issue for encrypted databases, which require a larger cache than unencrypted.
If your cache is too small, SQL Anywhere cannot keep pages in memory long enough to reap these benefits.
On Unix and Windows, the database server dynamically changes cache size as needed. However, the cache is still limited by the amount of memory that is physically available, and by the amount used by other applications.
Increasing the cache size can often improve performance dramatically, since retrieving information from memory is many times faster than reading it from disk. You may find it worthwhile to add more RAM to allow a larger cache.
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|