Result Cache Can Not Be Enabled (Doc ID 563828.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.3 [Release 11.1 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 26-Jun-2012***
*** Checked for relevance on 05-Apr-2016 ***

Symptoms

Result Cache does not work.
When changing the result_cache_max_size parameter and restarting the database, the value of the parameter is still 0 which means that Result Cache is disabled:

SQL> show parameter result_cache_max_size

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
result_cache_max_size                big integer 0


However the size in the spfile is set to a non-zero value:

SQL> !strings spfileELF.ora | grep result_cache
*.result_cache_max_size=5242880


Running dbms_result_cache.status() shows that the Result Cache status is BYPASS while it should have been ENABLED:

SQL> SELECT dbms_result_cache.status() FROM dual; 
DBMS_RESULT_CACHE.STATUS() 
-------------------------------------------------------------------------------- 
BYPASS

Changes

Using SGA_TARGET:

*.sga_target=584M
*.db_cache_size=0
*.shared_pool_size=0
*.large_pool_size=0
*.java_pool_size=0

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