Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Goldengate Tutorial Oracle
  • Histogram Overview Oracle
  • oracle_env_10g_CADEV Linux/Unix
  • Insert cause enqueue locks Oracle
  • Good notes on Oracle Events Oracle
  • Oracle 10g Wait Model Oracle
  • plan10g.sql Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • move_arch_files.ksh Linux/Unix
  • Search and replace editor command in vi Linux/Unix
  • exp syntax in oracle 10g Oracle
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • Import and export statements Oracle
  • setting prompt display with .profile Linux/Unix

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

  • Resolving RMAN Hung Jobs Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • Ports used by Oracle Software Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • Monitor Long Running Job Oracle
  • Jai Shree Ram 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 (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Create type and Grant on it. Oracle
  • Pending Distributed Transations Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Unix split command to split files Linux/Unix
  • import-export with multiple files Oracle
  • Optimizer SORT Operations Oracle
  • v$event_name Oracle
  • cold backup scripts to copy locally Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme