Search notes:

Oracle: V$OPEN_CURSOR

v$open_cursor shows cursors (of all sessions) that are currently opened and parsed, or cached.
select
--count(*),
  cursor_type
from
  v$open_cursor
group by
  cursor_type
order by
  cursor_type;
-- BUNDLE DICTIONARY LOOKUP CACHED
-- DICTIONARY LOOKUP CURSOR CACHED
-- OPEN
-- OPEN-PL/SQL
-- OPEN-RECURSIVE
-- PL/SQL CURSOR CACHED
-- SESSION CURSOR CACHED
Github repository oracle-patterns, path: /Installed/dynamic-performance-views/open_cursor/cursor_types.sql
select
  opc.user_name,
--mon.username,
--mon.module,
  opc.sql_id,
  opc.sql_exec_id,
--mon.status,
  opc.sql_text,
  opc.last_sql_active_time,
  opc.cursor_type
from
  v$session        ses                                       join
  v$open_cursor    opc on ses.sid          = opc.sid /* left join
  v$sql_monitor    mon on opc.sql_exec_id  = mon.key */
where
  ses.audsid = sys_context('userenv', 'sessionid')
order by
  decode (opc.user_name, 'SYS', 1, 0);
Github repository oracle-patterns, path: /Installed/dynamic-performance-views/open_cursor/own-sessions-open-cursors.sql

See also

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