Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: view performance
Hello,
Did you try to make an EXPLAIN of the query on the two databases ?
Best regards,
Youtz.
"Jim Poe" <jpoe_at_fulcrumit.com> wrote in message
news:MPG.16b79fcb6b65b1d5989682_at_news.fulcrumit.com...
> Hi,
>
> I have the same view defined in two different databases running on the
> same W2K machine. The view is not very efficient, having quite a few
> subselects and unions. In spite of the inefficiencies, I am getting
> drastic performance differences between the databases.
>
> The view, CTAC_SRCH, is based on a table called CTAC and it's detail
> tables. In database A, the CTAC table has 2200 records, in database B,
> the CTAC table has 1020 records. When I run,
> SELECT COUNT(*) FROM CTAC_SRCH
> in database A, it takes ~300 seconds to return a count of 10184. The
> same SQL in database B, never returns a result.
>
> Where would I start looking for the relavent differences in the two
> databases?
>
> Thanks
>
> --
> Jim Poe ( jpoe_at_fulcrumit.com )
Received on Wed Jan 23 2002 - 03:32:30 CST
![]() |
![]() |