In Oracle, what are the pros and cons of using materialized views, and of analytic workspaces? What are the best practices surrounding the use of these features?
We have an OLTP system, but would also like to access summary information in reports and interactive decision support tools.
I have never used analytic workspaces either, but there are some real cons to MVs (though we do use them). Couple things:
they are, in effect, tables. That means they take up space. In some of our situations, we are using them to help access remote data on tables with millions of rows. Views are query results, and virtual. MVs are actual (there are real rows, not memory structures).
One of the other problems we've run into is that, often, when an MV fails on refresh, it will never try and refresh again.
For us, we believe this is happening in two situations:
The specifics really aren't important, what is important is that you will definitely have to monitor your MVs to make sure their data is up to date.