Search notes:

Oracle: V$TEMPSEG_USAGE

select
   tus.username,
   ses.sid,
   ses.serial#,           -- same as tus.session_num
   tus.blocks,
   tus.extents,
-- tus."USER",            -- Obsolete and always equal to username. Use quotes to prevent ORA-01747
   tus.tablespace,
   tus.segtype,
   sqx.sql_text    txt_x,
   sqt.sql_text    txt_t,
   tus.contents,
   tus.segfile#,
   tus.segblk#,
   tus.ts#,
   tus.sql_id,
   tus.sql_id_tempseg
from
   v$tempseg_usage  tus                                    left join
   v$session        ses on tus.session_addr   = ses.saddr  left join
   v$sqlarea        sqx on tus.sql_id         = sqx.sql_id left join
   v$sqlarea        sqt on tus.sql_id_tempseg = sqt.sql_id;

See also

v$sort_usage is a synonym that also points to v_$tempseg_usage.
v$temp_space_header
Oracle Dynamic Performance Views

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...', 1759437507, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/dynamic-performance-views/tempseg_usage(62): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78