ORA-12838: cannot read/modify an object after modifying it in parallel

Posted gw666

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ORA-12838: cannot read/modify an object after modifying it in parallel相关的知识,希望对你有一定的参考价值。

[email protected]> insert /*+ append */ into b select * from a;

4 rows created.

[email protected]> select file#,block#,status from v$bh where objd=(select data_object_id from user_objects where object_name=‘B‘);

     FILE#     BLOCK# STATUS
---------- ---------- ----------
     4      665 xcur
     4      666 xcur
     4      664 xcur

[email protected]> select dbms_rowid.rowid_relative_fno(rowid),dbms_rowid.rowid_block_number(rowid) from b;
select dbms_rowid.rowid_relative_fno(rowid),dbms_rowid.rowid_block_number(rowid) from b
                                                                                      *
ERROR at line 1:
ORA-12838: cannot read/modify an object after modifying it in parallel


[email protected]> alter table t noparallel;

Table altered.

[email protected]> select dbms_rowid.rowid_relative_fno(rowid),dbms_rowid.rowid_block_number(rowid) from b;

DBMS_ROWID.ROWID_RELATIVE_FNO(ROWID) DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID)
------------------------------------ ------------------------------------
                   4                      667
                   4                      667
                   4                      667
                   4                      667

以上是关于ORA-12838: cannot read/modify an object after modifying it in parallel的主要内容,如果未能解决你的问题,请参考以下文章

com.alibaba.fastjson.JSONArray cannot be cast to java.lang.String

cannot connect to IP: 由于目标计算机积极拒绝,无法连接。 (10061)

cp:cannot stat no such file or directory怎么解决?

centos 环境正确配置 wkhtmltopdf:cannot connect to X server

Cannot open URL…

Cannot resolve symbol ‘Component’ & Cannot resolve symbol ‘PropTypes’