Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • rm_backup_arch_file.ksh Linux/Unix
  • Kill a session dynanically using execute immediate Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • How to stop OCSSD Daemon Oracle
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • oracle fast start failover best practice Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • load SPM baseline from cursor cache Oracle
  • Getting started with notebook Python/PySpark
  • compile_inv.sql Oracle
  • switchover for primary database Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • Rownum with Order by 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

  • get_vmstat.ksh for Solaris Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • create database link syntax Oracle
  • eplan9i.sql Oracle
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) 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
  • move_arch_files.ksh Linux/Unix
  • TRUNCATE table and disabling referential constraints. Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Space padding in korn shell Linux/Unix
  • Remove duplicate rows from table Oracle
  • Sending email with file attachment. Linux/Unix
  • USER_TABLES.Freelists Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme