|
|
Re: ORA-12013: updatable materialized views must be simple enough to do fast refresh [message #360419 is a reply to message #359650] |
Thu, 20 November 2008 22:31 |
|
Kevin Meade
Messages: 2103 Registered: December 1999 Location: Connecticut USA
|
Senior Member |
|
|
I am no expert with Materialized Views. However, I seem to recall there were very specific rules on how to construct fast refreshable aggregate materialized views. You need to read the docs about materialized views and see where your view fails to meet the requirements of fast refresh.
For example, I think you need count(firm),count(type) as columns. Maybe also sum(firm),sum(type).
Or it may be these rules related to query rewrite and/or restrictions on what additional columns were needed in order to use specific functions and operators if query rewrite was expected. Or maybe a combination of the two ideas fast refreshable and query rewrite.
Point is, there is some docs that will give you more insight. Google up the oracle documentation for fast refreshable Mviews and read about it.
Good luck, Kevin
|
|
|