Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • sql_doing_fts.sql Oracle
  • export import with parameter file. Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • configUOCIOTTO.ora Oracle
  • Single character replacement in Unix Linux/Unix
  • Ports used by Oracle Software Oracle
  • New OFA for 11g Oracle
  • create trigger syntax Oracle
  • xargs use Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • switchover for primary database Oracle
  • exp syntax in oracle 10g 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

  • create user with unlimited quota Oracle
  • Oracle 10g for solaris 10 Oracle
  • pvm_pre_change.sql Oracle
  • useful dg links Oracle
  • sid_wise_sql.sql Oracle
  • Formatter Explain plan Output 1 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
  • note id 373303.1 Linux/Unix
  • Very Good Oralce Internal Tuning Book Oracle
  • Flowers Resize datafiles Oracle
  • Mutating Table Error while using database trigger Oracle
  • checking redhat linux version Linux/Unix
  • create PLAN_TABLE command. Oracle
  • Histogram Overview Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme