Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • CTAS with LONG Column for 9i and higher Oracle
  • sesswait.sql Oracle
  • create a folder in multiple places Linux/Unix
  • First Entry in RAC Oracle
  • Goog notes on X$ tables Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • Building Our Own Namespaces with “Create Context” Oracle
  • Find all users who have DML privileges Oracle
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • Session_info.ksh Linux/Unix
  • find_longsql.sql Oracle
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • How to start CRS manually Oracle

SQL_PLAN.sql for checking real execution plan

Posted on 20-Jul-2006 By Admin No Comments on SQL_PLAN.sql for checking real execution plan

set lines 132

set pages 1400

SELECT LPAD(‘ ‘,2*(LEVEL-1))||operation||’ ‘||options ||’ ‘||object_name ||’ ‘|| DECODE(id, 0, ‘Cost = ‘||position)

“Query Plan”

FROM v$sql_plan

START WITH id = 0 and sql_id=’4ftvbpzhwkfd8′ and child_number=0

CONNECT BY PRIOR id = parent_id and sql_id=’4ftvbpzhwkfd8′ and child_number=0;

Oracle, SQL scripts

Post navigation

Previous Post: Good Doc 28-JUN-2006
Next Post: How to choose Driver table in SQL statement

Related Posts

  • Flowers Resize datafiles Oracle
  • find_cons.sql Oracle
  • how to find OS block size Oracle
  • Finding Oracle Patches with opatch Oracle
  • Rename Tablespace Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql 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 (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • sql_doing_fts.sql Oracle
  • exp syntax in oracle 10g Oracle
  • Processes Parameter decision Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • find_idle_cpu.sql Oracle
  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • Find total file sizes Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme