Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Linux CPU info. Linux/Unix
  • useful dg links Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Rename Oracle Instance Name Oracle
  • lck.sql Oracle
  • create a folder in multiple places Linux/Unix
  • Jai Shree Ram Oracle
  • Unix split command to split files Linux/Unix
  • create user with unlimited quota Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • USER_TABLES.Freelists Oracle
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle

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

  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • cp_filesystem.sql Oracle
  • How to see which patches are applied. Oracle
  • Sequence Resetting Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • Find Stale DR Physical Standby Oracle

Leave a Reply Cancel reply

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

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
  • track_autoupgrade_copy_progress.sql Oracle
  • Oracle Material from OTN Oracle
  • Library cahe Latches and internal explaination Oracle
  • catall.sh Linux/Unix
  • SAN Linux/Unix
  • pvm_pre_change.sql Oracle
  • Jai Shree Ram Oracle
  • Drop tempfiles from database Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme