返回顶部
首页 > 资讯 > 错误编码 >ORA-39300: Cannot alter materialized view log partitioning type or partitioning columns. ORACLE 报错 故
  • 217
分享到

ORA-39300: Cannot alter materialized view log partitioning type or partitioning columns. ORACLE 报错 故

报错故障materialized 2023-11-05 07:11:03 217人浏览 八月长安
摘要

文档解释 ORA-39300: Cannot alter materialized view log partitioning type or partitioning columns. Cause: DBMS_METADATA_DIFF

文档解释

ORA-39300: Cannot alter materialized view log partitioning type or partitioning columns.

Cause: DBMS_METADATA_DIFF was comparing two materialized view logs with incompatible partitioning: (1) one is partitioned and one is not (2) both are partitioned but in different ways (locally vs. globally, hash vs. range) (3) both are partitioned but on different columns. There is no sql ALTER statement to change the way a materialized view log is partitioned.

Action: The difference cannot be eliminated with an SQL ALTER statement.

官方解释

在出现这种情况时,要想解决该问题,需要使用如下一系列步骤来改变分区类型或者分区列:

1.首先用dbms_mview.refresh_mview_log 给物化视图日志或在启用多版本读取时使用 dbms_mview.refresh_all_mview_log 进行刷新;

2.接着,删除原物化视图日志;

3.然后,改变物化视图日志的分区类型或者分区列;

4.最后,创建一个日志表,将上述物化视图添加到该日志表中;

这样就可以解决这一问题。

--结束END--

本文标题: ORA-39300: Cannot alter materialized view log partitioning type or partitioning columns. ORACLE 报错 故

本文链接: https://lsjlt.com/news/537073.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作