Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • adding new line after specific pattern using sed Linux/Unix
  • CPU Core related projections AWS
  • DBMS_UTILITY PACKAGE Oracle
  • MYSQL for Oracle DBA MYSQL
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • Reading parameter file and printing Linux/Unix
  • The most important Tuning Notes Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • reset Sequence Oracle
  • How to stop OCSSD Daemon Oracle
  • How to set Processes Parameter Oracle
  • scp with ssh2 Linux/Unix
  • create trigger syntax Oracle
  • get_vmstat_linux 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

  • load SPM baseline from cursor cache Oracle
  • Good Site for Oracle Internals Oracle
  • VIvek Encryption Package and Its Usage Oracle
  • how to find OS block size Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • How to Modify the statistics collection by MMON for AWR repository 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 (397)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (345)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Hello08-Apr-2026
  • Hello07-Apr-2026
  • Test107-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
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Create type and Grant on it. Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • Jai Shree Ram Oracle
  • DBMS_JOB all example Oracle
  • Parallel DML Oracle
  • Resolving RMAN Hung Jobs Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme