Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • sesswait.sql Oracle
  • proper cpu stats Linux/Unix
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • cp_filesystem.sql Oracle
  • Rollback force for distributed transactions Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • Postgres DB user and OS user. POSTGRESQL
  • oracle Dba site Oracle
  • To find all disk io ( EMC as well as local) Linux/Unix
  • Physical Standby switchover with session active Oracle
  • Single character replacement in Unix Linux/Unix
  • export import with parameter file. Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • Find Command Linux/Unix

find_open_cur.sql Find open cursorts per session

Posted on 10-Mar-2006 By Admin No Comments on find_open_cur.sql Find open cursorts per session

set lines 132

set pages 300

column numopencursors format d8

column machine format a30

column osuser format a20

column username format a20

SELECT s.sid, v.value as numopencursors ,s.machine ,s.osuser,s.username

FROM V$SESSTAT v, V$SESSION s

WHERE v.statistic# = 3 and v.sid = s.sid ;

Oracle, SQL scripts

Post navigation

Previous Post: TRUNCATE Privs
Next Post: sid_wise_cursor.sql find open cursor basis on username or SID

Related Posts

  • TOP-N Sql to find Nth max or Top N rows Oracle
  • Drop specific SQL plan baseline – spm Oracle
  • get_aix_vmstat.ksh Oracle
  • pvm_pre_change.sql Oracle
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • Nice notes on wait events Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • check_copy_progress.sh Linux/Unix
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • Sending email with file attachment. Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Remove DOS CR/LFs (^M) Linux/Unix
  • EXTPROC Oracle
  • Jai Shree Ram Oracle
  • Space padding in korn shell Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme