SQL Query Result Cache On Queries Calling PL/SQL Functions Causing Wrong Results

(Doc ID 1495656.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.0 and later
Information in this document applies to any platform.
***Checked for relevance on 22-Sep-2016***

Symptoms

In 11.2, use of the SQL Query Result Cache is enabled on a query, either directly through the /*+ RESULT_CACHE */ hint, or indirectly through table annotations or by using the result_cache_mode=FORCE parameter setting.  This query calls one or more PL/SQL functions.  Unexpected (wrong) results are seen from the query on an intermittent basis.

Changes

This may occur after an upgrade from 11.1 to 11.2.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms