Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: index on a view ?
"Meier Roland" <Roland_Meier_at_freesurf.ch> wrote in message
news:ab6apl$fot$1_at_rex.ip-plus.net...
> Dear all
>
> I would like to create a view over 3 tables containig about 250000 rows
> each. But the view is terribly slow. Is there a way to create an index on
a
> view ? I am not shure whether this is possible with materialized views,
> didnt find anything about it.
>
> Can anyone give me a hint ?
a normal view will use any underlying indexes and because it is a 'compiled' select statement can also use hints in its definition.
a materialized view creates a bona fide table so can be indexed directly
HTH
-- Niall Litchfield Oracle DBA Audit Commission UKReceived on Mon May 06 2002 - 13:26:50 CDT