Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • Oracle Identifiers Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • eplan.sql Oracle
  • Drop database in Oracle 10g Oracle
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • Goldengate document from Porus Oracle
  • Parallel DML Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • Find sort details from Db find_sort.sql Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • Oracle Standby Database Library Index from Metalink Oracle
  • Optimizer SORT Operations Oracle
  • VIvek Encryption Package and Its Usage 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

  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • proc.sql Oracle
  • create database link syntax Oracle
  • online_bkup.sql Oracle
  • Renaming Global Name GLOBAL_NAME Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • move_arch_files.ksh Linux/Unix
  • Wait.sql Oracle
  • Committing distributed transaction using commit force Oracle
  • Specify the Rollback segment to use in Transaction Oracle
  • Add new columns in dataframe Python/PySpark
  • Create type and Grant on it. Oracle
  • myfile Oracle
  • Temporary Tablespace Information and restriction. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme