Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • dbinv.sql Oracle
  • Search and replace pattern Linux/Unix
  • Very clear article about oracle dataguard Oracle
  • secure crt settings Linux/Unix
  • How to set Processes Parameter Oracle
  • cur_sql.sql Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • Temporary Tablespace Information and restriction. Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Processes Parameter decision Oracle
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • grep multuple patterns Linux/Unix
  • FGA Part-I Oracle
  • move_arch_files.ksh 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

  • Optimizer_Index init.ora parameter explaination. Oracle
  • column level grant syntax Oracle
  • metalink all dynamic view reference notes. Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • compile_inv.sql Oracle
  • 10g oem configuration 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • CPU speed on solaris Linux/Unix
  • The most important Tuning Notes Oracle
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • age_alert.ksh aging out alert.log Linux/Unix
  • configUOCIOTTO.ora Oracle
  • Jai Shree Ram Oracle
  • Vivek Tuning for Row Locks. Oracle
  • Session_info.ksh Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme