Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle Internal Good Websites 1 Oracle
  • checking connectivity between two servers Linux/Unix
  • catting.sh Linux/Unix
  • oracle Dba site Oracle
  • pvm_pre_change.sql Oracle
  • Jai Shree Ram Linux/Unix
  • Facts about SCN and Rollback Segment Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • Oracle vs MYSQL Architecture differences (For DBAs) MYSQL
  • Find sort details from Db find_sort.sql Oracle
  • Oracle Standby Database Library Index from Metalink Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Exadata Basics Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Find all users who have DML privileges 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

  • Transfer SQL Profiles from One database to other database. Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • Remove duplicate rows from table Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • load SPM baseline from cursor cache Oracle
  • Virtual Indexes in Oracle 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 (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • 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
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • replace alphabets using sed Linux/Unix
  • oracle_env_10g_CADEV Linux/Unix
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Vivek Tuning for Row Locks. Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • Linux CPU info. Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme