Search notes:

v$session: joinable views

The following select statement is an attempt to find all views that have a sid and serial# column which is an indication (but no proof) that the selected view can be joined to v$session:
select lower(name) name from 
(
   select
    -- 'SYS', 
      view_name name
   from
      v$fixed_view_definition
  where
      lower(view_definition) like '%sid%serial#%'
union all   
   select
   -- a.owner, -- Always 'SYS' (?)
      a.table_name
   from 
      all_tab_columns  a   join
      all_tab_columns  b on
         a.owner      = b.owner      and
         a.table_name = b.table_name
   where
      a.column_name = 'SID' and
      b.column_name = 'SERIAL#'
)      
order by
   replace(replace(name, 'GV$', 'V$'), 'V_$', 'V$')
;
Github repository oracle-patterns, path: /Installed/dynamic-performance-views/session/joinable.sql
This SQL statement returns
This select statement does not return v$active_session_history because its joinable columns are session_id and session_serial#. I don't know if also other views are not found.

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