Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • ORA-01220 Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • SAN Linux/Unix
  • Explain Plan Output 2 Oracle
  • Read CSV File using Python Python/PySpark
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • get_vmstat.ksh Linux/Unix
  • CPU speed on solaris Linux/Unix
  • set_env_dba Linux/Unix
  • Trace a SQL session from another session using ORADEBUG Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • Important Script Method for tuning Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle

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

  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • Find All internal Parameters Oracle
  • how to find OS block size Oracle
  • Pending Distributed Transations Oracle
  • All About Trace Fils Oracle
  • fkwoindex.sql /* Find FK without Index */ 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
  • Rman Notes -1 Oracle
  • create a folder in multiple places Linux/Unix
  • Space padding in korn shell Linux/Unix
  • how to find OS block size Oracle
  • Difference between SYNC and AFFIRM Oracle
  • Exadata Basics Oracle
  • JSON/XML Types in Oracle Oracle
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme