Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • Export With Query Another Example. Oracle
  • JSON/XML Types in Oracle Oracle
  • Read CSV file using PySpark Python/PySpark
  • Jai Shree Ram Oracle
  • Jai Shree Ram Oracle
  • sess1.sql Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Jai Shree Ram Oracle
  • Find_table_size.sql Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • load SPM baseline from cursor cache Oracle
  • New OFA for 11g Oracle
  • Virtual Indexes in Oracle Oracle
  • Changing unix system clock when Oracle database is running. Oracle

eplan.sql

Posted on 02-Aug-2005 By Admin No Comments on eplan.sql

truncate table plan_table;

EXPLAIN PLAN

SET STATEMENT_ID = ‘pvm’ FOR

select distinct owner, segment_name, segment_type

from dba_extents where file_id = &filid

and &blkid between block_id and block_id+blocks-1;

— syntax for viewing information from plan_table

SELECT LPAD(‘ ‘,2*(LEVEL-1))||operation||’ ‘||options ||’ ‘||object_name ||’ ‘|| DECODE(id, 0, ‘Cost = ‘||position) “Query Plan”

FROM plan_table

START WITH id = 0 and statement_id = ‘pvm’

CONNECT BY PRIOR id = parent_id AND statement_id =’pvm’;

Oracle, SQL scripts

Post navigation

Previous Post: refre.sql
Next Post: block_ident.sql

Related Posts

  • New OFA for 11g Oracle
  • All Hints for Oracle Databases Oracle
  • sesswait.sql Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • TNSNAMES entries details Oracle
  • Alter procedure auditing Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How to start CRS manually Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • reset Sequence Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • Implementing Listener Security Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Oracle Support Metalink ID 161818.1 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme