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
(Doc ID 2173851.1)
Last updated on SEPTEMBER 14, 2021
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 to 18.104.22.168 [Release 12.1]
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.
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