Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Logic to chech # of parameters command line parameters Linux/Unix
  • standard Monitoring – 1 Oracle
  • myfile Oracle
  • SAN Linux/Unix
  • plan10g.sql good Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Sequence Resetting Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • CPU Core related projections AWS
  • JSON/XML Types in Oracle Oracle
  • xargs use Linux/Unix
  • initUOCIOTTO.ora Oracle
  • create PLAN_TABLE command. Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • Good link for LIO in Oracle ( Logical IOs) 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

  • TRUNCATE table and disabling referential constraints. Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • ext#.sql Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • longtx.sql with the flag whether session is blocking any DML locks or not. 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
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Database link password in user_db_links Oracle
  • My Minimum Tuning Programs Oracle
  • How to set Processes Parameter Oracle
  • AWR settings- MMON is not taking snapshot. Oracle
  • sid_wise_sql.sql Oracle
  • All About oracle password and security from metalink Oracle
  • Exadata Basics Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme