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 AUGUST 18, 2016
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 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 22.214.171.124.
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