Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Convert multiple rows to single column Oracle
  • Day to day MYSQL DBA operations (Compared with Oracle DBA) MYSQL
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Changing the Global Database Name Oracle
  • Oracle vs MYSQL Architecture differences (For DBAs) MYSQL
  • Committing distributed transaction using commit force Oracle
  • How to see which patches are applied. Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • Pending Distributed Transations Oracle
  • Sample WW22 listener.ora Oracle
  • Difference between SYNC and AFFIRM Oracle
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Load SPM baseline from AWR Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle

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
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • Histogram Overview Oracle
  • Renaming Oracle Instance Name Oracle
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • telnet listening Linux/Unix
  • Another Tuning Article for subheap of shared pool Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme