Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • arch_configUOCIOTTO.ora Oracle
  • move_arch_files.ksh Linux/Unix
  • Multiple listeners Oracle
  • Some useful Unix Commands Linux/Unix
  • How to start CRS manually Oracle
  • Kill a session dynanically using execute immediate Oracle
  • Search and replace pattern Linux/Unix
  • Building Our Own Namespaces with “Create Context” Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • Histogram Overview Oracle
  • Facts about SCN and Rollback Segment Oracle
  • database trigger failing Oracle
  • How to see which patches are applied. Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • Sending email with file attachment. Linux/Unix

DBMS_Shared_pool pinning triggers

Posted on 02-May-2007 By Admin No Comments on DBMS_Shared_pool pinning triggers

How to pin a stored procedure/functions ?

1.You can pin procedures and triggers with the dbms_shared_pool procedure.

Either procedures or packages can be pinned with the ‘P’ flag, which is

the default value (so you can leave it out). Triggers are pinned with

‘R’ and anonymous plsql blocks need any letter other than [p,P,r,R] as a

flag. Refer to dbmspool.sql for more documentation. Here is an example:

execute dbms_shared_pool.keep(owner.trigger, ‘R’)

Oracle, SQL scripts

Post navigation

Previous Post: TOP-N Sql to find Nth max or Top N rows
Next Post: Find nth max and min.

Related Posts

  • Implementing Listener Security Oracle
  • Multiple listeners Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • Vivek Tuning for Row Locks. 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 (3)
  • Videos (0)

Recent Posts

  • 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
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • scripts to take listener.log backup Linux/Unix
  • Read CSV file using PySpark Python/PySpark
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • online_bkup.sql Oracle
  • Backup and Recovery Scenarios Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Building Our Own Namespaces with “Create Context” Oracle
  • v$backup.status information Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme