Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Import and export statements Oracle
  • sid_wise_sql.sql Oracle
  • Find Stale DR Physical Standby Oracle
  • DBMS_JOB all example Oracle
  • PLSQL Table Syntax 1 Oracle
  • Add new columns in dataframe Python/PySpark
  • Jai Shree Ram Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • TNSNAMES entries details Oracle
  • Changing default shell Linux/Unix
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Export Import with QUERY Oracle
  • backspace in SQL Plus not working then..? Linux/Unix
  • arch_configUOCIOTTO.ora Oracle
  • Jai Shree Ram Oracle

currwait.sql

Posted on 27-Sep-2006 By Admin No Comments on currwait.sql

set lines 120 pages 200

column event format a30

column object_type format a14

column object_name format a30

column owner format a10

column sql_text format a120

accept event_name prompt ‘Enter fraction of event to trace : ‘

select distinct a.event, s.sql_id, s.sql_text, s.executions

from v$session a, v$sqlarea s

where s.sql_id = a.sql_id

and lower(a.event) like lower(‘%&event_name%’)

order by s.sql_id;

Oracle, SQL scripts

Post navigation

Previous Post: Vivek’s egrep commands to trace problem. (on linux x86-64)
Next Post: sess1.sql

Related Posts

  • Wait.sql Oracle
  • How to stop OCSSD Daemon Oracle
  • v$event_name Oracle
  • How to calculate PROCESSES parameter Oracle
  • myfile Oracle
  • CPU Core related projections AWS

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
  • block_ident.sql Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • Proc code Oracle
  • To find explain plan for a statement that occurred in past. Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • logminer and my_lbu Oracle
  • Find All internal Parameters Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme