在执行insert into test select a,select b;后,在查看test的时候报错
ORA-12838: 无法在并行模式下修改之后读/修改对象
ORA-12838: cannot read/modify an object after modifying it in parallel
Cause: Within the same transaction, an attempt was made to add read or modification statements on a table after it had been modified in parallel or with direct load. This is not permitted.
Action: Rewrite the transaction, or break it up into two transactions: one containing the initial modification and the second containing the parallel modification operation.
我的例子中是全表扫了,导致了直接路径加载。后面再操作就有这个提示了,解决方式是insert后,先commit