Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • restarting network in linux Linux/Unix
  • How to see which patches are applied. Oracle
  • refre.sql for multitenant Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • eplan.sql Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • Oracle Metalink useful notes Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • Insert cause enqueue locks Oracle
  • oracle_env_10g_CADEV Linux/Unix
  • shutdown linux Linux/Unix
  • Jai Shree Ram Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) 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

  • SQL_PLAN.sql for checking real execution plan Oracle
  • DBMS_Shared_pool pinning triggers Oracle
  • Export Import with QUERY Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • runon_allpdbs_show_conname.sh 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 (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • login.sql Oracle
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • To see mem usage and CPU usage system wide. Linux/Unix
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • xargs use Linux/Unix
  • Oracle Support Metalink ID 161818.1 Oracle
  • Find Command Linux/Unix
  • Generating XML from SQLPLUS Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme