Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • Kernel Parameters for Solaris Linux/Unix
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • executing Function from SQLPLUS prompt Oracle
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • Find Command Linux/Unix
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • Generate SSH without password authentication. Linux/Unix
  • Wait Based Tuning Step by step with SQL statement Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • backspace in SQL Plus not working then..? Linux/Unix
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • How to sort list of files on basis of their sizes. Linux/Unix

Tag: tuning expert

GSQ.sql

Posted on 19-May-202325-May-2023 By Admin No Comments on GSQ.sql

This SQL will be used to identify SQL details of given Session. You need to pass SID and INSTANCE_ID as INPUT. This query will provide session details, SQL_ID, SQL_EXEC_START time and other transaction level details. set echo off feedback off verify offcol Transaction_id format a20col username format a8col days format 99.99col hours1 format 999999col TX_HRS…

Read More “GSQ.sql” »

Oracle, SQL scripts

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
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Drop tempfiles from database Oracle
  • Guide to Linux System Command Mastery Linux/Unix
  • find checksum of a file. Linux/Unix
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • load SPM baseline from cursor cache Oracle
  • .profile Linux/Unix
  • Process Map for CPU and Memory for OS processes Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme