Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • My Minimum Tuning Programs Oracle
  • checking redhat linux version Linux/Unix
  • My Test Case On 21-OCT-2005 Oracle
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • For Search and replace unix command. Linux/Unix
  • Vivek Tuning for Row Locks. Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Oracle 11g Environment Setup Oracle
  • findobj.sql Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • Configure ssh authentications for RAC Oracle
  • Search and replace pattern Linux/Unix
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • export import with parameter file. 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

  • export import with parameter file. Oracle
  • Oracle GoldenGate lag monitoring shell script 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
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Find_planinfo.sql Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Session_info.ksh Linux/Unix
  • Changing unix system clock when Oracle database is running. Oracle
  • cache buffer chain latch Oracle
  • How can I tell if ASO is installed ? Oracle
  • SQLPLUS COPY command Precautions. Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • DBMS_SQL for alter session. Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme