Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

plsql array poor performance when deleting an array element in 12C

neeminMay 2 2017 — edited May 4 2017

Hi,

We are running DB 12.1.0.2.0 on solaris  5.11. 

We find that 12C DB PLSQL takes more time to remove an element from an array than 11g,

Example:

FOR i IN t_array.first.. t_array.last LOOP

..

..

..

    t_array.delete(i);  -- delete an element

END LOOP;

It takes at least 4 seconds to complete the whole loop in 12C when processing 135880 records. In 11g,  it takes less than 1 second to process the same number of records.

I wonder if anybody have this kind of issue.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 1 2017
Added on May 2 2017
24 comments
861 views