Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> enable query rewrite fails
Hi,
I'm trying to create a materialized view with with query rewrite but
this fails. (Oracle 9.2, enterprise edition)
CREATE MATERIALIZED VIEW my_matview
ENABLE QUERY REWRITE
AS
SELECT * FROM mytable;
=> ORA-00439: Feature not enabled: Materialized View Rewrite
If I don't use ENABLE QUERY REWRITE, it works. I tried everything I found:
- set QUERY_REWRITE_ENABLED=true - set OPTIMIZER_MODE=all_rows - set GRANT GLOBAL QUERY REWRITE ...
Any idea?
Thanks,
Christian
Received on Wed Aug 24 2005 - 09:04:01 CDT
![]() |
![]() |