Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • get_vmstat.ksh Linux/Unix
  • online_ts_bkup.sql Oracle
  • Locktree.sql Oracle
  • To Find Orphan OS processes. Linux/Unix
  • To see mem usage and CPU usage system wide. Linux/Unix
  • Rownum with Order by Oracle
  • Rman Notes -1 Oracle
  • Paste command syntax Linux/Unix
  • Exadata Basics Oracle
  • SYSOPER Mystery Oracle
  • move_arch_files.ksh Linux/Unix
  • EXTPROC Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • compile_inv.sql Oracle
  • Clean up Oracle

Tag: DBA

Wait.sql

Posted on 04-Apr-202322-Apr-2025 By Admin No Comments on Wait.sql

/********************************************Author: Paresh MehtaScript Name : waitt.sqlwaits order by sql start time********************************************/set feedback 1set pages 2000set lines 190column event format a45column machin format a12column modul format a10column prg format a10column osuser1 format a10column username format a10column sesinfo format a15column blockedby format a15alter session set nls_date_format=’DDMONRR:HH24:MI:SS’;select /*+ first_rows(100) */ a.sid || ‘,’ || a.serial# || ‘,@’ ||…

Read More “Wait.sql” »

Oracle, SQL scripts

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Goldengate document from Porus Oracle
  • Error Handling in Proc Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • All Hints for Oracle Databases Oracle
  • shutdown linux Linux/Unix
  • Pending Distributed Transations Oracle
  • fuser to check who is using diretory Linux/Unix
  • Good Doc 28-JUN-2006 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme