Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Absolute file number and relative file number Oracle
  • VIvek Encryption Package and Its Usage Oracle
  • TNSNAMES entries details Oracle
  • Vivek Tuning for Row Locks. Oracle
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • Library cahe Latches and internal explaination Oracle
  • Index Range Scan Oracle
  • find_string_in_database.sql Oracle
  • Oracle Material from OTN Oracle
  • Jai Shree Ram Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Facts about SCN and Rollback Segment Oracle
  • Database logon trigger issue Oracle
  • metalink all dynamic view reference notes. Oracle
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress

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

  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • cur_sql.sql Oracle
  • tblwopk.sql tablewopk.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 (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Generate SSH without password authentication. Linux/Unix
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • move_arch_files.ksh Linux/Unix
  • myfile Oracle
  • SYSOPER Mystery Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • Creating never expiring DB user accounts in Oracle Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme