Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • longtx.sql Oracle
  • upload.html PHP/MYSQL/Wordpress
  • How to choose Driver table in SQL statement Oracle
  • DB Console Mainenance. Oracle
  • Find All internal Parameters Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • cache buffer chain latch Oracle
  • plan10g.sql Oracle
  • online_bkup.sql Oracle
  • SQLPLUS COPY command Precautions. Oracle
  • How to see which patches are applied. Oracle
  • logminer and my_lbu Oracle
  • oracle Dba site 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

  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • create user with unlimited quota Oracle
  • Find_table_size.sql Oracle
  • Vivek Tuning for Row Locks. Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • 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

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Rman Notes -1 Oracle
  • Insert cause enqueue locks Oracle
  • scripts to take listener.log backup Linux/Unix
  • How to analyze statspack or AWR report. Oracle
  • get_aix_vmstat.ksh Oracle
  • Rename Tablespace Oracle
  • Database logon trigger issue Oracle
  • upload.html PHP/MYSQL/Wordpress

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme