Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • temp_use.sql diplays usage of temp ts Oracle
  • scripts to take listener.log backup Linux/Unix
  • setting prompt display with .profile Linux/Unix
  • v$backup.status information Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • database trigger failing Oracle
  • PLSQL Table Syntax 1 Oracle
  • Database logon trigger issue Oracle
  • How can I tell if ASO is installed ? Oracle
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • proper cpu stats Linux/Unix
  • currwait.sql Oracle
  • sess1.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

  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • VIvek Encryption Package and Its Usage Oracle
  • shr1.sql for MTS or Shared server configuration Oracle
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • Privilege to describe the table. 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Oracle Release Explaination Oracle
  • find_cons.sql Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • SQL Server: How to see historical transactions SQL Server
  • Unix command for system configuration Linux/Unix
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • Kernel Parameters for Solaris Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme