My Oracle Support Banner

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 APRIL 09, 2018

Applies to:

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

Symptoms

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:

 

Changes

 Upgraded to 12.1.0.2.

Cause

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
Symptoms
Changes
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.