Search notes:

Oracle: Init parameters COMMIT_LOGGING and COMMIT_WAIT

The value of commit_logging can be set to immediate or batch. Oracle's docmentation states that there is no default value for this parameter.
The value of commit_wait can be set to nowait, wait or force_wait. Again, Oracle's documentation states that there is no default value for this parameter.
create table tq84_commit_test (
   id   number          primary key,
   txt  varchar2(100)
);

create or replace procedure tq84_insert_data
   authid definer
is

   t0  timestamp := systimestamp;
   t_  interval day to second(1);

   st  number := 1 * 1000 * 1000;
   tx  varchar2(100) := lpad('x', 100, 'x');

begin

   for i in st .. st + 100 * 1000 loop
       insert into tq84_commit_test values (i, tx);
       commit;
   end loop;

   t_ := systimestamp - t0;

   dbms_output.put_line(t_);
end;
/

alter session set commit_logging = immediate;
alter session set commit_wait    = wait;

begin
   tq84_insert_data;
end;
/

truncate table tq84_commit_test;

alter session set commit_logging = batch;
alter session set commit_wait    = nowait;

begin
   tq84_insert_data;
end;
/

drop table     tq84_commit_test;
drop procedure tq84_insert_data;

alter session set commit_logging = immediate;
alter session set commit_wait    = wait;

See also

The commit write … statement.
init parameters

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...', 1758198429, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/adminstration/init-parameters/commit/index(95): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78