Local caches

Your application can define local caches for each instance in the cluster, to cater to the instance’s specific needs and to bind the cache to an object. A global definition is not required for each instance-specific cache in the cluster.

Local caches are instance-specific. You can tailor their configuration to the needs of the instance or the logical cluster to which the instance belongs. Sybase recommends that you partition applications across instances within a cluster when a particular application usually runs in a particular instance. This maximizes the benefits of local caches, as you can configure them specifically for a particular application’s access patterns.

An object can be bound to only one cache, either local or global, at any particular instance. If you do not bind the object to any cache, or in case of failover, where an instance-specific cache is not configured, it uses the default data cache. To aid efficient access, Adaptive Server maintains binding information on every instance.

NoteA local cache definition on any instance overrides any global definition at that instance.