Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • move_arch_files.ksh Linux/Unix
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • upload.html PHP/MYSQL/Wordpress
  • Default User Profile Oracle
  • AWR settings- MMON is not taking snapshot. Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • Temporary tablespace explaination Oracle
  • Search and replace editor command in vi Linux/Unix
  • pvm_pre_change.sql Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • get_vmstat_linux Oracle
  • ORA-01220 Oracle
  • cif crons 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

  • findobj.sql Oracle
  • tracksqltime.sql Oracle
  • Formatter Explain plan Output 1 Oracle
  • Optimizer SORT Operations Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) 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
  • dbinv.sql Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • FGA Part-I Oracle
  • Jai Shree Ram Linux/Unix
  • Changing unix system clock when Oracle database is running. Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • Convert multiple rows to single column Oracle
  • Proc code Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme