Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Drop specific SQL plan baseline – spm Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • oradebug ipcrm ipcs Oracle
  • Kill a session dynanically using execute immediate Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • find_err.sql for finding errors from dba_errors. Oracle
  • Rman Notes -1 Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • Facts about SCN and Rollback Segment Oracle
  • AWR settings- MMON is not taking snapshot. Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix

Finding locked objects

Posted on 11-Jun-2007 By Admin No Comments on Finding locked objects

select object_id from dba_objects

where object_name = ‘MYTABLE’;

select sid, id1, id2

from v$lock

where id1= &objid

or id2 = &objid;

Oracle, SQL scripts

Post navigation

Previous Post: Changing Instance Name ( No DB_NAME)
Next Post: Good RAC & Standby Notes

Related Posts

  • TOP-N Sql to find Nth max or Top N rows Oracle
  • RAC 11g with vmware Oracle
  • ORA-01220 Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • DBMS_PROFILER for tuning PLSQL programs. 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 (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 (5)
  • Videos (0)

Recent Posts

  • 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
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Oracle 11g Training on 29JAN1010 Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • find_err.sql for finding errors from dba_errors. Oracle
  • Goog notes on X$ tables Oracle
  • ipcs -l Linux/Unix
  • Exadata Basics Oracle
  • Difference between SYNC and AFFIRM Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme