Can't refresh Materialized View [message #283669] |
Tue, 27 November 2007 22:42 |
mahendraabc
Messages: 12 Registered: October 2000
|
Junior Member |
|
|
Hi,
I've created Materialized View from a view and trying to refresh periodically with the following script
CREATE MATERIALIZED VIEW schema1.MV_XXXX
PCTFREE 10 PCTUSED 0 INITRANS 2 MAXTRANS 255
STORAGE( INITIAL 64 K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT )
TABLESPACE YYYYY
LOGGING
NOCACHE
NOPARALLEL
USING
INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE( BUFFER_POOL DEFAULT )
REFRESH
FORCE ON DEMAND
START WITH TO_DATE( '27-NOV-2007 15:03:51','dd-mon-yyyy hh24:mi:ss')
NEXT SYSDATE + 19/24
WITH ROWID
USING DEFAULT LOCAL ROLLBACK SEGMENT
DISABLE
QUERY REWRITE AS
SELECT * FROM schema2.VW_yyyy
|
|
|
|
|
|
|