My Oracle Support Banner

A Demonstration On Data Affinity Within a Coherence Cluster (Doc ID 1052174.1)

Last updated on NOVEMBER 06, 2018

Applies to:

Oracle Coherence - Version 3.3.0 to 3.7.1
Information in this document applies to any platform.
***Checked for relevance on 01-Jul-2013***

Goal

Data affinity describes the concept of ensuring that a group of related cache entries is contained within a single cache partition. This ensures that all relevant data is managed on a single primary cache node (without compromising fault-tolerance). In this demo we will use the SCOTT schema DEPT/EMP tables showing how we set up Data Affinity in Coherence using a relationship as follows:

  (Dept -> Emp)

A number of standard Coherence operations can benefit from affinity, including cache queries, InvocableMap operations, and the getAll/putAll/removeAll methods.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Steps
 How Does This Work?
 More Information
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.