Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Temporary Tablespsace Temp tablespace behaviour Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Rollback force for distributed transactions Oracle
  • Nice notes on wait events Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • Guide to Linux System Command Mastery Linux/Unix
  • How to analyze statspack or AWR report. Oracle
  • Single character replacement in Unix Linux/Unix
  • Important Script Method for tuning Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • DB Console Mainenance. Oracle
  • How to change hostname in Linux Linux/Unix
  • proper cpu stats Linux/Unix
  • Updated LCK.SQL file. Oracle

sesswait.sql

Posted on 02-Aug-2005 By Admin No Comments on sesswait.sql

set pages 300

set lines 151

column event format a30

column p1_detail format a25

column p2_detail format a15

column p3_detail format a5

column sid format a15

column wait_time format 999999

column seconds_in_wait format 999999999

column state format a30 word_wrapped

select

A.SID ||’,’ || A.seq# sid ,

A.EVENT,

A.P1TEXT || ‘=’ || A.P1 p1_detail,

A.P2TEXT || ‘=’ || A.P2 p2_detail,

A.P3TEXT || ‘=’ || A.P3 p3_detail,

A.WAIT_TIME,

A.SECONDS_IN_WAIT,

A.STATE

from v$session_wait A

order by event

;

Oracle, SQL scripts

Post navigation

Previous Post: Wait time tuning research
Next Post: ext#.sql

Related Posts

  • Good Doc 28-JUN-2006 Oracle
  • tab.sql Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • All About oracle password and security from metalink Oracle
  • ORA-01220 Oracle
  • Oracle Internal Good Websites 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • AWR settings- MMON is not taking snapshot. Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • Export Import with QUERY Oracle
  • All Hints for Oracle Databases Oracle
  • PLSQL Table Syntax 2 Oracle
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme