Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> More Materialized View Questions
Hello all...
I am trying to create my first materialized view as a test bed for reducing query times. I want to use the 'ON-COMMIT' refresh option as data integrity is vital.
I'm trying to run the following DDL statement to create the MV:
CREATE MATERIALIZED VIEW order_summary
BUILD IMMEDIATE
REFRESH
FAST
ON COMMIT
ENABLE QUERY REWRITE
AS
SELECT orders.debtor_id,
order_lines.description, sum(orders.order_total) FROM orders, order_lines
order_lines.description
However I'm getting the following error message:
ORA-12054: cannot set the ON COMMIT refresh attribute for the materialized view
I believe I have set the parameters in the init.ora file correctly for refreshing the view. What things should I be looking for in trying to get this to work?
Many thanks...
-- He who laughs last... | Justin Wigg - Hobart, AUSTRALIA ...thinks slowest. | Reply: justinwigg_at_yahoo.comReceived on Sun Feb 04 2001 - 16:31:42 CST
![]() |
![]() |