ORA-12838: cannot read/modify an object after modifying it in parallel
官方解釋如下:
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 /*+ append */ into table as select .. from table
後沒有提交或者回滾該事物,再次在該事物中什麼查詢或者DML都會報錯
如使用迴圈插入,批次提交的時候,建議取消append 提交
示例:
SQL> create table test1 as select * from dba_objects;
Table created
SQL> insert /*+append*/ into test1 select * from dba_objects where rownum<100;
99 rows inserted
SQL> select /*+parallel(a 13)*/ count(*) from test1 a;
select /*+parallel(a 13)*/ count(*) from test1 a
ORA-12838 cannot read/modify an object after modifying it in parallel
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15747463/viewspace-1134815/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ulimit: core file size: cannot modify limit: Operation not permittedMIT
- -bash: ulimit: open files: cannot modify limit: Operation not permittedMIT
- TypeError: Cannot read private member xxx from an object whose class did not declare itErrorObject
- Cannot restore segment prot after reloc:Permission deniedREST
- Cannot read property ‘aDataSort‘ of undefinedUndefined
- js提示Cannot read property ‘replace‘ of undefinedJSUndefined
- 消除11.2上的db file parallel readParallel
- suse linux 10_su - oracle報ulimit錯誤-cannot modify limit:LinuxOracleMIT
- Object "R3TR DOCT ZLOGIN_SCREEN_INFO" can not be modifyObject
- echarts:Uncaught TypeError: Cannot read property '0' of undefinedEchartsErrorUndefined
- 前端報錯:cannot read property length of undefined前端Undefined
- 0322理解db file parallel read等待事件2Parallel事件
- 0316理解db file parallel read等待事件Parallel事件
- -bash: ulimit: max user processes: cannot modify limit: Operation not permitted問題的處理MIT
- Cannot access a disposed object.問題根源所在.....Object
- cannot read prpperty ‘start‘ of undefined(問題記錄)Undefined
- vue+echarts報錯Cannot read property ‘init‘ of underfinedVueEcharts
- 恢復資料庫hang住/parallel recovery read buffer free資料庫Parallel
- 同義詞The schema object cannot be contained in a package.ObjectAIPackage
- 怎麼會出現 Cannot forward after response has been committed???ForwardMIT
- 8.0新特性-並行查詢innodb_parallel_read_threads並行Parallelthread
- 執行專案報錯Cannot read property 'styles' of undefinedUndefined
- Appium dmg 安裝:[TypeError: Cannot read property 'replace' of undefined]APPErrorUndefined
- Cannot decode object of class Employee for key (NS.object.0); the class may be defined in source cod...Object
- object dict cannot be used in await expression報錯解釋ObjectAIExpress
- MySQL 8.0新特性-並行查詢innodb_parallel_read_threadsMySql並行Parallelthread
- Warning: Cannot modify header information - headers already sent by (output started at file_path:line)HeaderORM
- [譯] 避免那些可惡的 "cannot read property of undefined" 錯誤Undefined
- vue 踩坑記錄 cannot read property xxx of undefinedVueUndefined
- MySQL案例01:Last_SQL_Errno: 1755 Cannot execute the current event group in the parallel modeMySqlASTParallel
- java.lang.IllegalStateException: Cannot call sendError() after the response has been committed解讀JavaExceptionErrorMIT
- ggsci error libclntsh.so.10.1: cannot restore segment prot after relocErrorREST
- 這個問題如何解決?Cannot forward after response has been committedForwardMIT
- el-tree 報錯 TypeError: Cannot read property ‘setCheckedKeys‘ of undefined“ErrorUndefined
- Shlomo關於everntual consistency與read-after-write consistency區別的解釋以及為什麼US Standard 沒有采用先進的read-after-wr
- enq: KO - fast object checkpoint 等待事件與 direct path read - 1ENQASTObject事件
- enq: KO - fast object checkpoint 等待事件與 direct path read - 2ENQASTObject事件
- enq: KO - fast object checkpoint 等待事件與 direct path read - 3ENQASTObject事件