Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • v$event_name Oracle
  • Python class import from different folders Python/PySpark
  • Alter procedure auditing Oracle
  • V$INSTANCE of Oracle in MYSQL MYSQL
  • ORA-01220 Oracle
  • DB Console Mainenance. Oracle
  • Pending Distributed Transations Oracle
  • set_env_dba Linux/Unix
  • metalink all dynamic view reference notes. Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • EXTPROC Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix
  • Drop all SPM baselines for SQL handle Oracle
  • Jai Shree Ram Linux/Unix
  • online_bkup.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

  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • Insert cause enqueue locks Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • How to calculate PROCESSES parameter 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
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • oracle 10g on linux Linux/Unix
  • For Search and replace unix command. Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Wait.sql Oracle
  • Formatter Explain plan Output 1 Oracle
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • get_vmstat.ksh Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme