Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • how to find VIP from ifconfig Linux/Unix
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • CPU Core related projections AWS
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • Day to day MYSQL DBA operations (Compared with Oracle DBA) MYSQL
  • alter database backup controlfile to trace Oracle
  • Explain Plan Output 2 Oracle
  • Distributed Transaction Troubleshooting. Oracle
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • Good Oracle Architecture In Short and point to point Oracle
  • Implementation of key based authentications Linux/Unix
  • cold backup scripts to copy locally Linux/Unix

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

  • temp_use.sql diplays usage of temp ts Oracle
  • Load SPM baseline from AWR Oracle
  • standard Monitoring – 1 Oracle
  • arch_configUOCIOTTO.ora Oracle
  • To find explain plan for a statement that occurred in past. Oracle
  • Jai Shree Ram 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 (149)
  • MYSQL (5)
  • Oracle (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • PLSQL Table Syntax 2 Oracle
  • oracle_env_10g_CADEV Linux/Unix
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • Explain Plan Output 2 Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • compile_inv.sql Oracle
  • create database syntax Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme