Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Which environment is used by currently running process ( Very good) Linux/Unix
  • Jai Shree Ram Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • switchlogfile.sh Linux/Unix
  • Backup and Recovery Scenarios Oracle
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • Oracle 11g Environment Setup Oracle
  • USER_TABLES.Freelists Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • create database syntax Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • adding new line after specific pattern using sed Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • restarting network in linux 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

  • sid_wise_sql.sql Oracle
  • eplan.sql Oracle
  • create database syntax Oracle
  • get_aix_vmstat.ksh Oracle
  • sess_server.sql Oracle
  • Oracle Connections expire_time and firewall 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 (402)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sql23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Updated LCK.SQL file. Oracle
  • copying/removing directory with all its subdirectory Linux/Unix
  • find_err.sql for finding errors from dba_errors. Oracle
  • Oracle 10g Wait Model Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Oracle Data Direct to TAPE Oracle
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • Library cahe Latches and internal explaination Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme