Bad Varray Performance With PLSQL_OPTIMIZE_LEVEL = 2 (Doc ID 1368508.1)

Last updated on JULY 05, 2017

Applies to:

PL/SQL - Version: 11.1.0.7 and later   [Release: 11.1 and later ]
Information in this document applies to any platform.

Symptoms

When working with varray of number type and PLSQL_OPTIMIZE_LEVEL = 2 it works slowly when it will filled with 2500 values.
It takes 39.40 seconds, but with PLSQL_OPTIMIZE_LEVEL = 0 it takes only 4.08 seconds.

Changes

Database is updated from 9i to 11.1.

Cause

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