REM REM DBAToolZ NOTE: REM This script was obtained from DBAToolZ.com REM It's configured to work with SQL Directory (SQLDIR). REM SQLDIR is a utility that allows easy organization and REM execution of SQL*Plus scripts using user-friendly menu. REM Visit DBAToolZ.com for more details and free SQL scripts. REM REM REM File: REM s_waitt.sql REM REM USER STATS LOCK TRACE MOST REM REM SQLDIR Group Descriptions: REM APPS - APPS General REM APPS_INST - APPS Installation REM APPS_CONC_PROG - APPS Concurrent Programs REM APPS_CONC_MAN - APPS Concurrent Managers REM APPS_ADMIN - APPS Administration REM DBF - Data Files REM TABSP - Tablespace REM UTIL - Utility REM INDX - Index REM LOG - Redo Log REM RBS - Rollback REM MAINT - Maintenance REM REVERSE - Reverse Engineering REM SGA - SGA Maintenance REM TAB - Table REM USER - User Management REM STATS - Statistics REM STORAGE - Storage Management REM INIT - Database Init Parameters REM LATCH - Latches REM LOCK - Locks REM SEGMENT - Segment Management REM BACKUP - Backup Management REM PQ - Parallel Query REM TRACE - SQL Tracing Tuning REM PART - Partitioning REM MOST - Favorite Scripts REM REM Author: REM Vitaliy Mogilevskiy REM REM REM Purpose: REM REM This script reports details from v$session_wait REM where wait_time = 0 REM and seconds_in_wait > REM REM REM Usage: REM s_waitt.sql REM REM Example: REM s_waitt.sql REM REM REM History: REM 12-18-2001 Vitaliy Mogilevskiy Created REM REM set lines 400 set trims on set head on set pages 60 ttit off btit off select * from v$session_wait where wait_time = 0 and seconds_in_wait > &min_in_wait*60 and event not like 'SQL*Net%';