Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Order by with ROWNUM Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • lck.sql Oracle
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • DBMS_Shared_pool pinning triggers Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • refre.sql for multitenant Oracle
  • oracle 10g on linux Linux/Unix
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • SQL Server: How to see historical transactions SQL Server
  • db_status.sql Oracle
  • All About Trace Fils Oracle

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

  • Drop database in Oracle 10g Oracle
  • V$transaction notes for finding XID composition. Oracle
  • TRUNCATE Privs Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • ORA-01220 Oracle
  • plan10g.sql 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 (403)
  • 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 (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.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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • findobj.sql Oracle
  • compile_inv.sql Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • sql_plan9i.sql Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • plan10g.sql good Oracle
  • Insert cause enqueue locks Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme