Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • age_alert.ksh aging out alert.log Linux/Unix
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • JSON/XML Types in Oracle Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • OEM-Commnds Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Oracle Statspack survival Guide Oracle
  • chk_space_SID.ksh Linux/Unix
  • Ports used by Oracle Software Oracle
  • Small sample shell program Linux/Unix
  • Another export with Query Oracle
  • Find nth max and min. Oracle
  • checking redhat linux version Linux/Unix

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

  • Oracle Internal Good Websites 1 Oracle
  • Error Handling in Proc Oracle
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • Create type and Grant on it. 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 (397)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (345)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Alter procedure auditing Oracle
  • DB Console Mainenance. Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • Jai Shree Ram Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • Set Role explaination. Oracle
  • block_ident.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme