Search notes:

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

Make sure our session is enabled for parallel DML:
select pdml_status from v$session where sid = sys_context('userenv', 'sid');
alter session enable parallel dml;
Create a table for the result:
create table tq84_objs (own varchar2(128), nam varchar2(128));
Insert data with parallel execution:
insert /*+ parallel */ into tq84_objs
select
   owner,
   object_name
from
   dba_objects;
Verify if statement was executed in parallel:
select * from v$pq_sesstat order by statistic;
Following statement throws ORA-12838: cannot read/modify an object after modifying it in parallel:
delete from tq84_objs where own = 'SYS';
We have to commit the transaction in order to further modify data in the table:
commit;
delete from tq84_objs where own = 'SYS';

See also

Using the append hint in insert statements.
Parallel SQL statement execution
Other Oracle error messages

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758206418, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-12838_cannot-read-modify-an-object-after-modifying-it-in-parallel/index(70): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78