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

Home -> Community -> Usenet -> c.d.o.server -> synonym

synonym

From: Mario <mario.jaksic_at_zg.tel.hr>
Date: Sat, 26 Jan 2002 20:42:06 +0100
Message-ID: <a2v0l8$2vk6$1@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. Received on Sat Jan 26 2002 - 13:42:06 CST

Original text of this message

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