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: Materialised view

RE: Materialised view

From: paquette stephane <stephane_paquette_at_yahoo.com>
Date: Tue, 17 Apr 2001 07:40:01 -0700
Message-ID: <F001.002EABB4.20010417070045@fatcity.com>

Here is the MV log and the MV, it's generating an ORA-12032 when trying a refresh fast.

create MATERIALIZED VIEW log on sp_ect_etat_contrat with primary key

(ECt_ID_PRODUIT,                 
ECt_CD_SERIE   ,                
ECt_CD_SOURCE  ,               
ECt_CD_AGENCE ,                 
ECt_CD_APPORTEUR ,                   
ECt_BT_ENCOURS    ,             
ECt_CD_ETAT        ,            
ECt_BT_VEP        ,             
ECt_BT_RPP         ,            

ECt_BT_NANTISSEMENT ,
ECt_MT_VALEUR_ACQUISE)

        including new values ;

create materialized view admindba.sp_aec_agg_etat_ctr nologging
build deferred
refresh fast

        on demand
        with primary key
        enable query rewrite 
as select              

count(*) compte,
count(ECt_MT_VALEUR_ACQUISE) compte_MT_VALEUR_ACQUISE,
ECt_DT_ALIM  ,                  
ECt_ID_PRODUIT,                 
ECt_CD_SERIE   ,                
ECt_CD_SOURCE  ,               
ECt_CD_AGENCE ,                 
ECt_CD_APPORTEUR ,                   
ECt_BT_ENCOURS    ,             
ECt_CD_ETAT        ,            
ECt_BT_VEP        ,             
ECt_BT_RPP         ,            
ECt_BT_NANTISSEMENT ,           

sum(ECt_MT_VALEUR_ACQUISE) somme_ECt_MT_VALEUR_ACQUISE from admindba.sp_ect_etat_contrat
group by
ECt_DT_ALIM  ,                  
ECt_ID_PRODUIT,                 
ECt_CD_SERIE   ,                
ECt_CD_SOURCE  ,               
ECt_CD_AGENCE ,                 
ECt_CD_APPORTEUR ,
ECt_BT_ENCOURS,
ECt_CD_ETAT        ,            
ECt_BT_VEP        ,             
ECt_BT_RPP  ,
ECt_BT_NANTISSEMENT  ;




Stéphane Paquette
DBA Oracle, consultant entrepôt de données Oracle DBA, datawarehouse consultant
stephane_paquette_at_yahoo.com

Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, Yahoo! Messenger : http://fr.messenger.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?paquette=20stephane?=
  INET: stephane_paquette_at_yahoo.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).
Received on Tue Apr 17 2001 - 09:40:01 CDT

Original text of this message

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