Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • Sample WW22 listener.ora Oracle
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • Sending email with file attachment. Linux/Unix
  • Find all users who have DML privileges Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • replace alphabets using sed Linux/Unix
  • Find All internal Parameters Oracle
  • sess1.sql Oracle
  • proc.sql Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • RAC with RHEL4 and 11g Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) 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

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How to remove blank lines using vi editor command Linux/Unix
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • sess1.sql Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • telnet listening Linux/Unix
  • Backup and Recovery Scenarios Oracle
  • DBMS_JOB all example Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme