Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How can I tell if ASO is installed ? Oracle
  • Jai Shree Ram Oracle
  • Korn Shell Arithmatic Linux/Unix
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • Goog notes on X$ tables Oracle
  • Check SQL Server edition SQL Server
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • UTL_FILE test program Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Restoring a user’s original password 1051962.101 Oracle
  • Drop database in Oracle 10g Oracle
  • Good Link from metalink 1 Oracle
  • move_arch_files.ksh Linux/Unix
  • Temporary tablespace explaination Oracle
  • rm_backup_arch_file.ksh 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

  • Changing Instance Name ( No DB_NAME) Oracle
  • Explain Plan Output 2 Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • Giving Grant on v$DATABASE Oracle
  • db_status.sql 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • catting.sh Linux/Unix
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • pvm_pre_change.sql Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • Kernel Parameters for Solaris Linux/Unix
  • Convert multiple rows to single column Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme