Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

Alejandro-Suarez-OracleJul 4 2008 — edited Feb 10 2011
Hi all, I have something like the script donwhere, and it is throwing me the error I show at the bottom... Anybody can tell me why?? I'm on 11g database, and I believe this used to work in a previous version of the database...
Any fix to make the insert go faster??

keep in mind that in the real process, I have one main cursor and 3 more that feed from that main one.

THANKS!!!!!


declare

cursor c1 is
select 1 from dual
connect by level <= 100000;


begin

for i in c1 loop

insert /*+ APPEND */ into
ale NOLOGGING (value)
values ('1');

end loop;

end;

Error at line 1
ORA-12838: cannot read/modify an object after modifying it in parallel
ORA-06512: at line 12
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2009
Added on Jul 4 2008
12 comments
12,357 views