Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • All About oracle password and security from metalink Oracle
  • online_ts_bkup.sql Oracle
  • Kill a session dynanically using execute immediate Oracle
  • temp_use.sql diplays usage of temp ts Oracle
  • To check whether standby is recovering properly or not?? Oracle
  • UTL_FILE test program Oracle
  • Implementing Listener Security Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • Sending email with file attachment. Linux/Unix
  • backspace in SQL Plus not working then..? Linux/Unix
  • purge_trc.sh Linux/Unix
  • cold backup scripts to copy locally Linux/Unix
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix

SQL_PLAN.sql for checking real execution plan

Posted on 20-Jul-2006 By Admin No Comments on SQL_PLAN.sql for checking real execution plan

set lines 132

set pages 1400

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

“Query Plan”

FROM v$sql_plan

START WITH id = 0 and sql_id=’4ftvbpzhwkfd8′ and child_number=0

CONNECT BY PRIOR id = parent_id and sql_id=’4ftvbpzhwkfd8′ and child_number=0;

Oracle, SQL scripts

Post navigation

Previous Post: Good Doc 28-JUN-2006
Next Post: How to choose Driver table in SQL statement

Related Posts

  • Good notes on Oracle Events Oracle
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • find_string_in_database.sql Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • Optimizer SORT Operations 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Pending Distributed Transations Oracle
  • Oracle Identifiers Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • v$event_name Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • longtx.sql Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • RAC 11g with vmware Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme