Re: Slow refresh mview
Date: Tue, 21 Dec 2010 13:08:19 -0800 (PST)
On Dec 21, 8:22 am, "bob123" <nom..._at_nowhere.com> wrote:
> I have some Mviews for query rewrite
> it takes 15-20 minutes to create them
> The refresh takes more than 5 hours ...
> why ?
> What can I do to speed this ?
> Oracle 126.96.36.199
> Thanks in advance
In addition to Adrian's comments, in 10g and above you can do a "nonatomic" refresh that truncates the materialized view (rather than deleting the rows) under the covers. This is much faster provided you have your query rewrite stuff set up correctly. Received on Tue Dec 21 2010 - 15:08:19 CST