Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Good Doc 28-JUN-2006 Oracle
  • dbinv.sql Oracle
  • create database syntax Oracle
  • Sending email with file attachment. Linux/Unix
  • plan10g.sql Oracle
  • v$event_name Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • PLSQL Table Syntax 1 Oracle
  • find the files that are 1 day old. Linux/Unix
  • Handling LOB data in Oracle Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Caching sequence in Memory Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress

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

  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • Distributed Transaction Troubleshooting. Oracle
  • Multiple listeners Oracle
  • Restoring a user’s original password 1051962.101 Oracle
  • Finding locked objects 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
  • How to analyze statspack or AWR report. Oracle
  • how to find OS block size Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • find_cons.sql Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • cache buffer chain latch Oracle
  • sess1.sql Oracle
  • newupload.html PHP/MYSQL/Wordpress

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme