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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Fast Refresh of Materialized views

Re: Fast Refresh of Materialized views

From: Greg Moore <sqlgreg_at_pacbell.net>
Date: Tue, 28 Aug 2001 15:13:44 -0700
Message-ID: <F001.0037A774.20010828151033@fatcity.com>

It may be that your fast refresh is actually doing a lot of work. This would happen if many rows in the source table were changed. If 99% of the rows changed, then a complete refresh will be faster, because you don't have the added overhead of reading the logs to determine which rows to refresh - you just refresh them all.

If only 1% of the rows changed then the fast refresh will indeed be fast - faster than a complete refresh.

Somewhere in between there's a break even point. It may be that many rows have changed - enough to take you past the break even point.

> We've noticed that our fast refresh takes longer than complete refresh -
and
> that's puzzling .We have MV logs based on the PK of the FACT table - and
the
> MV's are JOIN ONLY .
> Any suggestions would be welcome !
>
> vikas
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Vikas Kawatra
> INET: VKawatra_at_innoventry.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Greg Moore
  INET: sqlgreg_at_pacbell.net

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Aug 28 2001 - 17:13:44 CDT

Original text of this message

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