对不起,我们有时差,所有不能立即回复。
你可以参考metalink note:258252.1,特别是下面一段话:
“If a refresh is in progress, users can expect to see a slow down or
interruption in data retrieval/changes on mviews. Data is deleted or truncated
from the mview base table during refresh depending on the conditions covered
in step 2 of the refresh operation in section 1, and the mview is locked.”
以我看,每次refresh或者做mview maintenance的时候都commit或者exit,则会避免lock。