Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: PL/SQL Automatic BULK

RE: PL/SQL Automatic BULK

From: Christian Antognini <Christian.Antognini_at_trivadis.com>
Date: Thu, 17 Mar 2005 18:57:06 +0100
Message-ID: <2CF83791A616BB4DA203FFD13007824A021440BF@MSXVS02.trivadis.com>


Hi Bruce

>Saw this mentioned at OOW, anybody seen it work?

If you enable SQL trace you will "see" it.

>The jist is that the new optimizing compiler will
>take a static sql cursor for loop and 'bulkify' it.

It's a prefetching. Basically instead of fetching one single row at a = time, now 100 rows are prefetched.

>What limits are in the optimizer bulkification process

The prefetching feature is only enabled for queries, i.e. there's no = automatic FORALL...

>Can you tell if bulkification is performed without running the p/sql.

If PLSQL_OPTIMIZE_LEVEL is set to 2 the feature is activated.

HTH
Chris

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Mar 17 2005 - 13:00:36 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US