Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • pvm_pre_change.sql Oracle
  • longtx.sql Oracle
  • Find Plan Hash value fphv.sql Oracle
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • find the files that are 1 day old. Linux/Unix
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • Find All internal Parameters Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • cold backup scripts to copy locally Linux/Unix
  • note id 373303.1 Linux/Unix
  • Mutating Table Error while using database trigger Oracle
  • xargs use Linux/Unix

Drop specific SQL plan baseline – spm

Posted on 05-Jun-202505-Jun-2025 By Admin No Comments on Drop specific SQL plan baseline – spm
set serveroutput on
var res number
exec :res :=DBMS_SPM.DROP_SQL_PLAN_BASELINE ('&original_sql_handle','&original_plan_name');
exec dbms_output.put_line('Number of plans dropped: ' || :res);
Oracle, SQL scripts

Post navigation

Previous Post: findinfo.sql (SQL for getting CPU and Active session info)
Next Post: Load SPM baseline from AWR

Related Posts

  • Generating XML from SQLPLUS Oracle
  • Facts about SCN and Rollback Segment Oracle
  • Oracle 10g for solaris 10 Oracle
  • sid_wise_sql.sql Oracle
  • Load SPM baseline from AWR Oracle
  • DBA_HIST_SQLSTAT contents 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
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • handling filenname with space Linux/Unix
  • oracle 11g RAC on vmware Oracle
  • online_bkup.sql Oracle
  • find the files that are 1 day old. Linux/Unix
  • move_arch_files.ksh Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme