Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Removing Blank lines from file using grep Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • MYSQL for Oracle DBA MYSQL
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Ports used by Oracle Software Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • Export With Query Another Example. Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • oracle 10g on linux Linux/Unix
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • How to find where datafile is created dbf_info.sql Oracle
  • How to stop OCSSD Daemon 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

  • sql_plan9i.sql Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • Rman Notes -1 Oracle
  • Important Script Method for tuning Oracle
  • Identical Dblink Issue… 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • 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

  • 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
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Drop tempfiles from database Oracle
  • Set Role explaination. Oracle
  • ext#.sql Oracle
  • Sequence Resetting Oracle
  • scripts to take listener.log backup Linux/Unix
  • Oracle Release Explaination Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme