From: Pratap on
Hi,

Oracle 10.2.0.4

What is the relation between partitioned bitmap indexes and number of
recursive calls shown by Autotrace? I have seen that as the number of
partitions on a table increase, for a query using bitmap indexes, the
number of recursive calls also increase. When the number of partitions
on the table are reduced, the same query shows lower recursive calls.

I have discounted query parsing by running the queries 3 times before
observing the recursive calls.

Regards,
Pratap
From: Jonathan Lewis on

"Pratap" <pratap.deshmukh(a)gmail.com> wrote in message
news:1d9841d6-9a79-4b0f-b49e-cf2e83e02ade(a)c22g2000vbb.googlegroups.com...
> Hi,
>
> Oracle 10.2.0.4
>
> What is the relation between partitioned bitmap indexes and number of
> recursive calls shown by Autotrace? I have seen that as the number of
> partitions on a table increase, for a query using bitmap indexes, the
> number of recursive calls also increase. When the number of partitions
> on the table are reduced, the same query shows lower recursive calls.
>
> I have discounted query parsing by running the queries 3 times before
> observing the recursive calls.
>

Have you tried enabling SQL trace and seeing if those recursive
calls appear as SQL in the trace file ?

--
Regards

Jonathan Lewis
http://jonathanlewis.wordpress.com


From: joel garry on
On May 28, 4:13 am, Pratap <pratap.deshm...(a)gmail.com> wrote:
> Hi,
>
> Oracle 10.2.0.4
>
> What is the relation between partitioned bitmap indexes and number of
> recursive calls shown by Autotrace? I have seen that as the number of
> partitions on a table increase, for a query using bitmap indexes, the
> number of recursive calls also increase. When the number of partitions
> on the table are reduced, the same query shows lower recursive calls.
>
> I have discounted query parsing by running the queries 3 times before
> observing the recursive calls.
>
> Regards,
> Pratap

I don't know much about it, but after looking at
http://www.jlcomp.demon.co.uk/06_bitmap_2.doc I guess it is
recursively loading temporary tables. You don't have to guess, see
how to tell in the doc.

jg
--
@home.com is bogus.
http://arstechnica.com/science/news/2010/05/when-science-clashes-with-belief-make-science-impotent.ars
From: Pratap on
Hi,

I had a look at the trace file and there are calls to TBL$OR$IDX$PART
$NUM with different parameters. It seems the recursive calls are due
to sub-query pruning.

Regards,
Pratap
From: Pratap on
I have enabled alter session set star_transformation_enabled =
'temp_disable'; So it is unlikely that the recursive calls are due to
loading of temporary tables.