Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • scripts to take listener.log backup Linux/Unix
  • oracle_env_10g_CADEV Linux/Unix
  • Jai Shree Ram Linux/Unix
  • Roles and Stored Procs II Oracle
  • Removing first line Linux/Unix
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • Nice notes on wait events Oracle
  • Single character replacement in Unix Linux/Unix
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • ipcs -l Linux/Unix
  • Oracle Material from OTN Oracle
  • standard Monitoring – 1 Oracle
  • get_vmstat_solaris Oracle
  • rm_backup_arch_file.ksh 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

  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • Nice notes on wait events Oracle
  • Privilege to describe the table. Oracle
  • Roles and Stored Procs II Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Rman Notes -1 Oracle
  • oracle fast start failover best practice Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • My Minimum Tuning Programs Oracle
  • exp syntax in oracle 10g Oracle
  • setting prompt display with .profile Linux/Unix
  • Optimizer SORT Operations Oracle
  • Difference between SYNC and AFFIRM Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme