Return-Path: <root@fatcity.cts.com>
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by naude.co.za (8.11.2/8.11.2) with SMTP id g5M2AeT07592
 for <oracle-l@naude.co.za>; Fri, 21 Jun 2002 22:10:40 -0400
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id LAA31879;
 Fri, 21 Jun 2002 11:10:36 -0700 (PDT)
Received: by fatcity.com (26-Feb-2001/v1.0g-b71/bab) via UUCP id 00484767; Fri, 21 Jun 2002 10:58:39 -0800
Message-ID: <F001.00484767.20020621105839@fatcity.com>
Date: Fri, 21 Jun 2002 10:58:39 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Reddy, Madhusudana" <Madhusudana.Reddy@bestbuy.com>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Reddy, Madhusudana" <Madhusudana.Reddy@bestbuy.com>
Subject: Suggestions on MV Implementation !!!!!!!
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 71; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Hello All,

I have a set of Materialized views in my DB . we refresh ( COMPLETE) these
MVs, couple of times a day. Web server ( application ) will hit these MVs to
show the data on web pages. But the complete Refresh of MVs are consuming
much time and , at this point of time , Application is not able to show
right data on web pages. This is like a down time. I need some suggestions
from you all, in order to minimize or zeroing this down time.

The first thing I can think of is , FAST refresh , but one of my Sr.DBA told
me that the MV definition will not allow us for a FAST refresh( Are there
any limitations for FAST refresh ???? ). Here is a sample MV Definition :

CREATE MATERIALIZED VIEW GENRELOB
  NOLOGGING
  BUILD IMMEDIATE
  REFRESH COMPLETE ON DEMAND
  DISABLE QUERY REWRITE
AS SELECT DISTINCT
  '1' AS CLIP, 
  LOB.LOB_ID,
  LOB.LOB_CD,
  GENRE.GENRE_ID,
  GENRE.GENRE_DESC,
  GENRE.GENRE_DESC AS INSTANCENAME
FROM
  GENRE, 
  GENRE_LOB_XREF, 
  LOB,
  GENRE_PRODUCT_XREF
WHERE
  GENRE.GENRE_ID = GENRE_LOB_XREF.GENRE_ID AND
  GENRE_LOB_XREF.LOB_ID = LOB.LOB_ID AND
  GENRE_PRODUCT_XREF.genre_id = GENRE.genre_id AND
  GENRE.DSPLY_IND = 'Y'
ORDER BY
  LOB_CD,
  GENRE_DESC
;


My Goal is to view the FRESH data on web pages all the time , irrespective
of MV Refresh. Would anybody suggest me some bright ideas , to have no or
less down time ???

Thanks in advance
Madhu V Reddy


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Reddy, Madhusudana
  INET: Madhusudana.Reddy@bestbuy.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@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).

