Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • When error comes for temporary tablespace with version <= 9i Oracle
  • copying/removing directory with all its subdirectory Linux/Unix
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • v$event_name Oracle
  • scripts to take listener.log backup Linux/Unix
  • How to analyze statspack or AWR report. Oracle
  • online_bkup.sql Oracle
  • standard Monitoring – 1 Oracle
  • Good notes for shared pool Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • Unix command for system configuration Linux/Unix
  • PLSQL Table Syntax 1 Oracle
  • SQL Server: How to see historical transactions SQL Server
  • To seee semaphores and shared memory segments in Solaris 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Linux CPU info. Linux/Unix
  • normal maintenance for exp-imp and renaming table Oracle
  • cur_sql.sql Oracle
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • Goldengate Tutorial Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme