My Oracle Support Banner

SQL Query Result Cache On Queries Calling PL/SQL Functions Causing Wrong Results (Doc ID 1495656.1)

Last updated on FEBRUARY 03, 2022

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.0 and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.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

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
Symptoms
Changes
Cause
Solution
References


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