Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • export import with parameter file. Oracle
  • Changing the Global Database Name Oracle
  • Postgres DB user and OS user. POSTGRESQL
  • refre.sql for multitenant Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Checking SQL Server Version SQL Server
  • Kill a session dynanically using execute immediate Oracle
  • find the files that are 1 day old. Linux/Unix
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Goldengate Tutorial Oracle
  • age_alert.ksh aging out alert.log Linux/Unix
  • Temporary tablespace explaination Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) 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 (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Privilege to describe the table. Oracle
  • Read CSV file using PySpark Python/PySpark
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • Export With Query Another Example. Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • Goog notes on X$ tables Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme