Sub-query in Materialized Views [message #395567] |
Wed, 01 April 2009 21:54 |
summoner
Messages: 44 Registered: March 2009
|
Member |
|
|
I have a view with complex query that have grouping and aggregations in sub-queries.
Now we would like to change it to a materialized view. However, materialized view does not support GROUP BY clause in sub-query. Therefore, we would like to ask how we could do in order to solve this problem.
The solution suggested by my boss is to create several view for the sub-queries and then create a materialized view based on it. It seems it can help, but I guest every time complete refresh is required.
I think another approach is to refine the query. Can anyone give me some suggestions on that? It will be great if there are some tools for that.
|
|
|
|