To administer search caching, navigate to /atg/search/routing/CacheService in the Component Browser of the Dynamo Server Admin. The Cache Statistics section provides information on current cache configuration and effectiveness.

Note that the accuracy of many of these statistics may be affected by the value of the statisticsAccuracy property of EHCacheService. There is tradeoff between the accuracy of the values and the goal of minimizing the system resources required to gather the values. You can increase the accuracy by changing the setting of this property, as described in the ATG Platform API Reference.

The page also provides buttons for the following actions:

  • Clear Statistics -- Resets to zero the statistics that appear in the CacheService charts (see below).

  • Disable/Enable -- Turns the caching service off or on. (Note that this does not disable searching.)

  • Flush to Disk -- Saves the portion of the cache currently in memory to disk.

  • Clear Cache -- Deletes all cached information.

  • Disable Invalidation -- Disables cache invalidation.

The page includes the following charts, which show how caching affects your site:

  • Hit Rates -- The percentage of queries that have been satisfied by cached data. A high hit rate means that caching is working well.

  • Maintenance Time -- The percentage of time the cache spent purging itself vs. serving requests. If this number is more than a few percent, try increasing the value of defaultMaxElementsInMemory to decrease the amount of time the system spends moving items between disk and memory.

  • Requests/Hits per Second -- The number of search requests, the number of those requests that were served by cached data, and the number of items evicted from the cache.

Note: If you are using the QueryConsole sample application to test search behavior, the Cache Responses setting is false by default; change this value before testing.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices