Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • rm_backup_arch_file.ksh Linux/Unix
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • AWR license Oracle
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • TRUNCATE Privs Oracle
  • oracle 11g RAC on vmware Oracle
  • move_arch_files.ksh Linux/Unix
  • How to calculate PROCESSES parameter Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Query to Generate aggregate on every 30 mins. Oracle
  • Guide to Linux System Command Mastery Linux/Unix
  • import-export with multiple files Oracle
  • database trigger failing Oracle
  • V$CONTROLFILE_RECORD_SECTION reference notes. 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

  • Important Script Method for tuning Oracle
  • How to set Processes Parameter Oracle
  • V$transaction notes for finding XID composition. Oracle
  • FGA Part-I Oracle
  • export import with parameter file. Oracle
  • Temporary tablespace explaination 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
  • AWR settings- MMON is not taking snapshot. Oracle
  • DBMS_STATS Metalinks Notes Oracle
  • Physical Standby switchover with session active Oracle
  • sess_server.sql Oracle
  • to see when crontab is changed. Linux/Unix
  • Proc code Oracle
  • SQL_PROFILE – I explaination Oracle
  • Resolving RMAN Hung Jobs Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme