Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • sess_server.sql Oracle
  • Sequence Resetting Oracle
  • MYSQL and Oracle Comparison for Oracle DBA MYSQL
  • checking redhat linux version Linux/Unix
  • handling filenname with space Linux/Unix
  • Good Doc 28-JUN-2006 Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • Proc code Oracle
  • TRUNCATE Privs Oracle
  • Monitor Long Running Job Oracle
  • This is from Temi Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • fkwoind.sql fkwoindex.sql 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
  • Insert cause enqueue locks Oracle
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • Proc Compilation Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • RAC 11g with vmware 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
  • telnet listening Linux/Unix
  • dbms_job.submit example Oracle
  • backspace in SQL Plus not working then..? Linux/Unix
  • CTAS with LONG Column for 9i and higher Oracle
  • Database logon trigger issue Oracle
  • catting.sh Linux/Unix
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Oracle Internal Good Websites 1 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme