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

Home -> Community -> Usenet -> c.d.o.misc -> materialized views in Oracle 9

materialized views in Oracle 9

From: Envoy <thenewone_at_freakmail.de>
Date: Fri, 6 Feb 2004 19:55:39 +0100
Message-ID: <MPG.1a8e0180fe4ba51c989691@News.CIS.DFN.DE>


Hi,

I want to use materialized views to speed up my queries. To check if it is working I used the query I want to accelerate in the statement to create the m-view.

example:
Query to accelerate:

   SELECT * FROM student, person
   WHERE s_ID=p_ID

      AND s_sex='female';

m-view definition:
CREATE MATERIALIZED VIEW Anfr23_MV AS

   SELECT * FROM student, person
   WHERE s_ID=p_ID

      AND s_sex='female';

Unfortunately the view did not help to speed up the query. Furthermore the execution plan did not mention the m-view.

What is my mistake?
Thanks for any help.
Best regards,
Michel Received on Fri Feb 06 2004 - 12:55:39 CST

Original text of this message

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