Configuring Query Agents—Engine Properties for PerformanceQuery agents have only a few agent-level properties. (Query agents are stateless and are not run in load-balanced or fault-tolerant groups and do not require properties relating to those features.)This section builds on cluster-level configuration settings and assumes they are in place. See the following chapters for those settings:Query Agent PropertiesThe query agent’s local cache stores cache data locally for efficient reuse. The local cache listens to and synchronizes the locally stored entity instances with those in the main cache, so that the local cache stays up-to-date.The prefetch feature improves performance, but CPU and memory usage increases as a result of the aggressive prefetching. You may have to try different values till you find the optimal settings for your environment.If the default values provide good performance, you do not have to add these properties when configuring a query agent.
be.agent.query.localcache.maxelements Specifies the maximum number of entities that can be stored in the query-agent's local cache. When the threshold is reached, oldest entities are removed first. be.agent.query.localcache.evictseconds Specifies an age limit on the cached entities in seconds. After this period, they are removed from the local cache.Note Age resets each time an entity is accessed by the query engine. be.agent.query.localcache.prefetchaggressive If set to true, then objects required for a query are prefetched while the query is executing.Ensure that the cache size is large enough to accommodate objects that are prefetched.
Copyright © TIBCO Software Inc. All Rights Reserved.