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 -> Re: Newbie question re refreshing Materialized Views

Re: Newbie question re refreshing Materialized Views

From: Gints Plivna <gints.plivna_at_gmail.com>
Date: Wed, 15 Aug 2007 13:30:00 -0700
Message-ID: <1187209800.580748.158710@r29g2000hsg.googlegroups.com>


Default complete refresh mechanism for 9i is truncate/insert /*+ append*/
Default complete refresh mechanism for 10g is delete, conventional insert although there is possinility to switch back to old mechanism using dbms_mview.refresh with atomic_refresh = false. So if you are using 9i then there might be some moments just after truncate and before insert when the MV is empty. To avoid that one possibility is to use 2 MV approach I was explained in my article Effective search in a normalized application at http://www.gplivna.eu/papers/mat_views_search.htm Of course that means you are querying (possibly) stale data, but usually full refresh means that :)

Gints Plivna
http://www.gplivna.eu Received on Wed Aug 15 2007 - 15:30:00 CDT

Original text of this message

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