You can implement a backing store for use with any cache option. Various aspects of backing store behavior are configurable, as explained in this chapter.It’s a good idea to configure and test caching features before adding backing store functionality. This section explains only the properties relating to backing store functionality.For cache-related configuration see Chapter 17, Understanding Cache OM and Multi-Engine Features and chapters following.
●
● Enable the backing store and set properties relating to the cache cluster. See the following sections:During regular operation, cache data is written to the backing store by the cache cluster. Only cache servers write to the backing store. Inference agents and query agents are not involved in writes to the database.At system startup, the data is loaded into the cache from the backing store, using any one of the nodes (including nodes running inference agents and query agents).At system startup, after the minimum number of cache servers have started, the cache is loaded with backing store data. This occurs before the agents begin to process events or execute startup functions.
Any node in the cluster can load data from the backing store to the cache at startup. This is why you must add all the backing store properties to all the engine property files.You can configure the system so that only certain objects are loaded into the cache from the backing store at startup. See Preloading Options for Cache Only Objects.At runtime, if an object is not in working memory it is requested from the cache. If it is not in the cache, the cache server retrieves that object from the backing store.After an RTC, data is written to the cache, and then the cache writes the data to the backing store.Only nodes that store cache data (also known as storage nodes), write to the backing store. Any node can be configured as a storage node (cache server) using the following property:However, it is a best practice to enable storage only on specialized nodes, called cache server nodes.See Cache Server Configuration Overview for details.Other configuration options relating to performance and debugging are listed next. They are described in the reference table, Engine TRA File Reference for Backing Store Settings.
●
●
● Debugging and analyzing performance: be.oracle.debug
be.engine.cluster.EntityClassName.preload=truebe.engine.cluster.EntityClassName.preload=false
Copyright © TIBCO Software Inc. All Rights Reserved.