ORA-04031: unable to allocate XYZ bytes of shared memory ("shared pool", "unknown object", "sgaheap(2,0)", "kzsc:kzsctob_co") When SELECTing From Table With OLS Policy
Last updated on APRIL 09, 2018
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Information in this document applies to any platform.
SELECTing from a table protected by an Oracle Label Security (OLS) policy fails with:
ORA-04031: unable to allocate 4194328 bytes of shared memory ("shared pool", "unknown object", "sgaheap(2,0)", "kzsc:kzsctob_co")
Querying V$SGASTAT over time will show that "kzsc:kzscstob_co" is growing:
Upgraded to 188.8.131.52.
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