Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Library cahe Latches and internal explaination Oracle
  • How to change hostname in Linux Linux/Unix
  • Query to Generate aggregate on every 30 mins. Oracle
  • Find_planinfo.sql Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • oradebug ipcrm ipcs Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • Default User Profile Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • Oracle Material from OTN Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • Flowers Resize datafiles Oracle
  • good note for shared pool tunnig Oracle
  • Find long Running Transaction Linux/Unix
  • move_arch_files.ksh Linux/Unix

Find Plan Hash value fphv.sql

Posted on 27-Sep-2006 By Admin No Comments on Find Plan Hash value fphv.sql

Filename : fphv.sql

REM *** Find Plan Hash value

column plan_hash_value format 999999999999

accept v_sqlid prompt ‘Enter SQL_ID : ‘

select distinct sql_id, plan_hash_value, to_char(timestamp, ‘DD-MON-RRRR:HH24:MI:SS’) from dba_hist_sql_plan

where sql_id=’&v_sqlid’;

Oracle, SQL scripts

Post navigation

Previous Post: shr1.sql for MTS or Shared server configuration
Next Post: Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql

Related Posts

  • TRUNCATE table and disabling referential constraints. Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • Proc Compilation Oracle
  • find_open_cur.sql Find open cursorts per session Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • DB Console Mainenance. Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Renaming Oracle Instance Name Oracle
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • newupload.html PHP/MYSQL/Wordpress
  • Committing distributed transaction using commit force Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Caching sequence in Memory Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme