Using indexes to improve query performance
Just as you can use indexes to improve query performance against a relational database, you can use them to improve the performance of a Coherence query. That is not to say that Coherence indexes are the same as database indexes—in fact, they are very different, and we'll discuss how indexes are implemented in Coherence shortly.
However, they are similar in the way they work, as they allow query processor to optimize queries by:
- Limiting the number of entries that have to be evaluated by the filter
- Avoiding the need for object deserialization by providing the necessary information within the index itself
Both of these features are very important and can have a significant impact on query performance. For ...
Get Oracle Coherence 3.5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.