Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • sess1.sql Oracle
  • JSON/XML Types in Oracle Oracle
  • tracksqltime.sql Oracle
  • T-SQL Vs PL/SQL Syntax SQL Server
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • Nice notes on wait events Oracle
  • Find All internal Parameters Oracle
  • AWR license Oracle
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • Running select from V$ views from remote server Linux/Unix
  • Good RAC & Standby Notes Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • initUOCIOTTO.ora Oracle
  • DBMS_JOB all example Oracle
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix

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

  • Virtual Indexes in Oracle Oracle
  • logminer and my_lbu Oracle
  • plan10g.sql good1 Oracle
  • alter database backup controlfile to trace Oracle
  • Restoring a user’s original password 1051962.101 Oracle
  • Library cahe Latches and internal explaination 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • catting.sh Linux/Unix
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Explain Plan Output 2 Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • find_open_cur.sql Find open cursorts per session Oracle
  • Monitor Long Running Job Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • Find total file sizes Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme