Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Single character replacement in Unix Linux/Unix
  • dbms_job.submit example Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • how to find VIP from ifconfig Linux/Unix
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • All About Trace Fils Oracle
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • dbinv.sql Oracle
  • Reading config file from other folder inside class Python/PySpark
  • Library cahe Latches and internal explaination Oracle
  • oracle 10g on linux Linux/Unix
  • Export Oracle data and Compress at same time Oracle
  • OEM-Commnds Oracle

eplan9i.sql

Posted on 02-Aug-2005 By Admin No Comments on eplan9i.sql

set pages 300

set lines 100

truncate table plan_table;

EXPLAIN PLAN

SET STATEMENT_ID = ‘pvm’ FOR

SELECT * FROM emp;

SELECT rpad(cardinality, 10, ‘ ‘) || ‘ ‘ || rpad(cost, 10, ‘ ‘) || ‘ ‘ ||

lpad(‘ ‘,level-1)||operation||’ ‘|| options||’ ‘||object_name “Rows Cost Plan”

FROM PLAN_TABLE

CONNECT BY prior id = parent_id

AND prior statement_id = statement_id

START WITH id = 0

AND statement_id = ‘pvm’

ORDER BY id;

Oracle, SQL scripts

Post navigation

Previous Post: Rename Oracle Instance Name
Next Post: crtgr.sql /* For creating trigger from data dictionary */

Related Posts

  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • Jai Shree Ram Oracle
  • cp_filesystem.sql Oracle
  • Distributed Transaction Troubleshooting. Oracle
  • To see how much time or progress of long transaction 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
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • Guide to Linux System Command Mastery Linux/Unix
  • oracle fast start failover best practice Oracle
  • sql_doing_fts.sql Oracle
  • chk_space_SID.ksh Linux/Unix
  • fkwoind.sql fkwoindex.sql Oracle
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • Important Solaris Commands Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme