Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Renaming Global Name GLOBAL_NAME Oracle
  • How to remove blank lines using vi editor command Linux/Unix
  • configUOCIOTTO.ora Oracle
  • upload.html PHP/MYSQL/Wordpress
  • Index Range Scan Oracle
  • 339939.1 Running Cluster Verification Utility to Diagnose Install Problems Oracle
  • prepfiles.sh for step by step generating pending statistics files Oracle
  • Very clear article about oracle dataguard Oracle
  • findobj.sql Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • Distributed Transaction Troubleshooting. Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Check SQL Server edition SQL Server
  • find_pdbs.sql Uncategorized
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql 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

  • How to see which patches are applied. Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • Rename Tablespace Oracle
  • login.sql Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • Jai Shree Ram 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
  • Distributed Transaction Troubleshooting. Oracle
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • Good Site for Oracle Internals Oracle
  • metalink all dynamic view reference notes. Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • load SPM baseline from cursor cache Oracle
  • compile_inv.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme