Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle Standby Database Library Index from Metalink Oracle
  • PLSQL Table Syntax 1 Oracle
  • Logic to chech # of parameters command line parameters Linux/Unix
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • Sending SQLPLUS output in HTML format Oracle
  • Load SPM baseline from AWR Oracle
  • Recovering lost SYS password Oracle
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • 339939.1 Running Cluster Verification Utility to Diagnose Install Problems Oracle
  • Complete Git Tutorial for Beginners GIT
  • cache buffer chain latch Oracle
  • good linux notes Linux/Unix
  • Settting up get_vmstat.sh for colletinf CPU Usage. 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

  • Export Import with QUERY Oracle
  • pvm_pre_change.sql Oracle
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • arch_configUOCIOTTO.ora Oracle
  • Physical Standby switchover with session active 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • When error comes for temporary tablespace with version <= 9i Oracle
  • Temporary Tablespsace Temp tablespace behaviour Oracle
  • Updated LCK.SQL file. Oracle
  • tracksqltime.sql Oracle
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • logminer and my_lbu Oracle
  • Drop specific SQL plan baseline – spm Oracle
  • chk_space_SID.ksh Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme