Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to change hostname in Linux Linux/Unix
  • Goldengate Tutorial Oracle
  • Find long Running Transaction Linux/Unix
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • xargs use Linux/Unix
  • Jai Shree Ram Oracle
  • Oracle Material from OTN Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Resolving RMAN Hung Jobs Oracle
  • Import and export statements Oracle
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • Formatter Explain plan Output 1 Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • crontab syntax 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

  • Good notes for shared pool Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • DBMS_UTILITY PACKAGE Oracle
  • Handling LOB data in Oracle 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
  • Optimizer_Index init.ora parameter explaination. Oracle
  • switchover for primary database Oracle
  • plan10g.sql good1 Oracle
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • Rename Oracle Instance Name Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • Recovering lost SYS password Oracle
  • eplan9i.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme