Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> REPOST: Re: synonym
Sorry, I didn't write a version.
Oracle 7.3.4.5
HP-UX 10.20
"Mario" <mario.jaksic_at_zg.tel.hr> wrote in message
news:a2v0l8$2vk6$1_at_as201.hinet.hr...
> Hi!
> Can someone give me an explanation what's wrong in this picture?
> If I make (like ownerA):
> select col1, col3 from <ownerB>.<viewB> where col2 = <number>
> then Oracle uses indexes.
> But, if I make:
> select col1, col3 from <synonymA> where col2 = <number>
> Oracle skips one of the indexes and makes full table scan.
>
> <synonymA> -> <ownerB.viewB>
> ViewB is "select from three tables"
>
> TIA,
> Mario.
>
>
>
>
>
>
This message was cancelled from within The Unacanceller's glorious new software, Lotus 1-2-3 For Rogue Cancellers. Received on Sat Jan 26 2002 - 13:52:31 CST