Query On V$memory_target_advice View Fails With ORA-00604 And ORA-01001 (Doc ID 2088669.1)

Last updated on DECEMBER 14, 2015

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


Second and later run of query against v$memory_target_advice system view, fails  with:

 ORA-00604: error occurred at recursive SQL level 1
 ORA-01001: invalid cursor

 select (1-estd_db_time_factor) * 100
 from v$memory_target_advice m
 where memory_size_factor > 1
 and not exists (select null from v$memory_target_advice where
 memory_size_factor > 1 and m.memory_size_factor > memory_size_factor);

When AMM(Automatic Memory Management) is in use (meaning that v$memory_target_advice has rows) querying this view twice in the same session receives:

ORA-00604: error occurred at recursive SQL level 1
ORA-01001: invalid cursor

 If any sort of alter session statement is run, then successive runs of the query receive an ORA-600 [kokeg : pgactx is NULL], along with an ORA-07445 of varying argument. Along with the ORA-600 [kokeg : pgactx is NULL] error, the
 following ORA-07445s can occur:

 ORA-07445 [ksfd_update_iostatsbytes]
 ORA-07445 [kxstcol]
 ORA-07445 [opifch2]

The ORA-00600 callstack: kokegGetGCTable rworirw1 qersoProcessULS qersoFetch qerstFetch qervwFetch qerstFetch qerjoFetch


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