Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • Find long Running Transaction Linux/Unix
  • Oracle 10g for solaris 10 Oracle
  • Good notes for shared pool Oracle
  • Search and Replace vi editor command. Linux/Unix
  • Find Stale DR Physical Standby Oracle
  • cif crons Linux/Unix
  • Configure ssh authentications for RAC Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • Parallel DML Oracle
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • shr1.sql for MTS or Shared server configuration Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • OEM-Commnds Oracle
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix

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

  • Parallel DML Oracle
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • Implementing Listener Security Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • AWR license Oracle
  • Jai Shree Ram 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
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • move_arch_files.ksh Linux/Unix
  • secure crt settings Linux/Unix
  • Ports used by Oracle Software Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • DBMS_Shared_pool pinning triggers Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme