Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • OCI Infrastructure Patching Uncategorized
  • Find total file sizes Linux/Unix
  • To check whether standby is recovering properly or not?? Oracle
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • Jai Shree Ram PHP/MYSQL/Wordpress
  • DBMS_UTILITY PACKAGE Oracle
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • useful dg links Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • Oracle Statspack survival Guide Oracle
  • purge_trc.sh Linux/Unix
  • executing Function from SQLPLUS prompt Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • To Find Orphan OS processes. Linux/Unix
  • v$backup.status information Oracle

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

  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • online_ts_bkup.sql Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • When error comes for temporary tablespace with version <= 9i Oracle

Leave a Reply Cancel reply

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

Categories

  • AMC10 (0)
  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (9)
  • Videos (0)

Recent Posts

  • Tutornet.US — Source of excellent learning14-Oct-2026
  • OCI Infrastructure Patching14-Oct-2026
  • Free API credits for AI models14-Oct-2026
  • AMC1020-Sep-2026
  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • 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.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • Good Doc 28-JUN-2006 Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • telnet listening Linux/Unix
  • Implementing Listener Security Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme