Search notes:

Oracle: DBMS_MONITOR

Procedures

client_id_stat_enable, client_id_stat_disable
client_id_trace_enable, client_id_trace_disable
database_trace_enable, database_trace_disable Enables/disables the SQL Trace facility on database level. Compare with dbms_session.set_sql_trace.
serv_mod_act_stat_enable, serv_mod_act_stat_disable
serv_mod_act_trace_enable, serv_mod_act_trace_disable
session_trace_enable, session_trace_disable
declare
   client_id  varchar2(20) := 'tq84';
begin

   dbms_session.set_identifier(client_id);
   dbms_monitor.client_id_trace_enable(client_id => client_id);

end;
/

See also

dba_enabled_traces / cdb_enabled_traces
Tracing SQL statement execution
Oracle DBMS PL/SQL packages

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...', 1759562079, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/packages/dbms/monitor/index(64): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78