aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

QSM-01299: query rewrite not possible because materialized view string is partially stale

QSM-01299: query rewrite not possible because materialized view string is partially stale
Cause: The materialized view is partially stale. It is stale with respect to one or more partitions in one or more of its detail tables. The request query references one or more such detail partitions.
Action: (1) Change the selection criteria of the request to restrict the query to only the fresh portion of the materialized view, or (2) ALTER {SYSTEM|SESSION} QUERY_REWRITE_INTEGRITY = STALE_TOLERATED or (3) refresh the materialized view.

请先 登录 后评论

1 个回答

小智
QSM-01299:查询重写不可能,因为物化视图字符串部分陈旧,
.原因:物化视图部分陈旧。相对于其一个或多个细节表中的一个或多个分区,它是陈旧的。请求查询引用一个或多个此类详细分区。,
.操作:(1)更改请求的选择条件以将查询限制为仅实例化视图的新鲜部分,或(2)ALTER {SYSTEM | SESSION} QUERY_REWRITE_INTEGRITY = STALE_TOLERATED或(3)刷新实例化视图。,
.
请先 登录 后评论