Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Very Good Oralce Internal Tuning Book Oracle
  • Insert cause enqueue locks Oracle
  • Good notes for shared pool Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • Jai Shree Ram Oracle
  • Updated LCK.SQL file. Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • Load SPM baseline from AWR Oracle
  • Sending email with file attachment. Linux/Unix
  • Wait.sql Oracle
  • sqlnet.ora paramters Oracle
  • secure crt settings Linux/Unix
  • reset Sequence Oracle
  • get_vmstat_linux Oracle
  • Good link for LIO in Oracle ( Logical IOs) 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

  • Rman Notes -1 Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Histogram Overview Oracle
  • Drop database in Oracle 10g Oracle
  • find_longsql.sql Oracle
  • Implementing Listener Security Oracle

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • age_alert.ksh aging out alert.log Linux/Unix
  • metalink all dynamic view reference notes. Oracle
  • To check whether standby is recovering properly or not?? Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • exp syntax in oracle 10g Oracle
  • JSON/XML Types in Oracle Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme