Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • move_arch_files.ksh Linux/Unix
  • Proc Compilation Oracle
  • import-export with multiple files Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • How to remove blank lines using vi editor command Linux/Unix
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • ORA-3136 Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • Handling LOB data in Oracle Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • Oracle 11g Environment Setup Oracle
  • find the files that are 1 day old. Linux/Unix
  • Removing first line Linux/Unix

Tag: OCI

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

  • 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
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • on IBM-AIX for display Linux/Unix
  • dbinv.sql Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • pvm_pre_change.sql Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme