Search notes:

WRH$_SQLTEXT

The column snap_id stores the last snapshot id and is used for purging (see procedure dbms_workload_repository.purge_sql_details).
The column ref_count is not used anymore to reduce contention. Instead, the ref count is tracked in wri$_sqltext_refcount.
(Ref counting is used by clients such as SQL Tuning Sets and Automatic SQL Tuning.)
The primary key columns are dbid,sql_id,con_dbid,snap_id.

See also

wrh$_sqltext_bl
dba_hist_sqltext

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...', 1759612442, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/data-dictionary/base-tables/wr/h/sql/text/index(48): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78