Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Finding Oracle Patches with opatch Oracle
  • SQLPLUS COPY command Precautions. Oracle
  • Histogram Overview Oracle
  • UTL_FILE test program Oracle
  • scripts to take listener.log backup Linux/Unix
  • Jai Shree Ram Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • get_vmstat.ksh for Solaris Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • How to choose Driver table in SQL statement Oracle
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • adding new line after specific pattern using sed 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

  • Find nth max and min. Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • How to choose Driver table in SQL statement Oracle
  • Pending Transaction Neighbors Script Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • find_string_in_database.sql Oracle
  • Temporary Tablespace Information and restriction. Oracle
  • Identical Dblink Issue… Oracle
  • Shuffle an array PHP/MYSQL/Wordpress
  • chk_space_SID.ksh Linux/Unix
  • V$INSTANCE of Oracle in MYSQL MYSQL
  • Goldengate document from Porus Oracle
  • Changing default shell Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme