Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Generate SSH without password authentication. Linux/Unix
  • Remove DOS CR/LFs (^M) Linux/Unix
  • Parallel DML Oracle
  • Vivek Tuning for Row Locks. Oracle
  • Facts about SCN and Rollback Segment Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • Removing first line Linux/Unix
  • Unix command for system configuration Linux/Unix
  • Default User Profile Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • Absolute file number and relative file number Oracle
  • setting prompt display with .profile 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

  • Rename Tablespace Oracle
  • Renaming the column name Oracle
  • Another export with Query Oracle
  • Good Site for Oracle Internals Oracle
  • Jai Shree Ram Oracle
  • Oracle 10g Wait Model Oracle

Leave a Reply Cancel reply

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

Categories

  • AMC10 (0)
  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (9)
  • Videos (0)

Recent Posts

  • Tutornet.US — Source of excellent learning14-Oct-2026
  • OCI Infrastructure Patching14-Oct-2026
  • Free API credits for AI models14-Oct-2026
  • AMC1020-Sep-2026
  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • DBMS_UTILITY PACKAGE Oracle
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • Trace a SQL session from another session using ORADEBUG Oracle
  • import-export with multiple files Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • oracle fast start failover best practice Oracle
  • create user with unlimited quota Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme