Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • move_arch_files.ksh Linux/Unix
  • metalink all dynamic view reference notes. Oracle
  • SYSOPER Mystery Oracle
  • To find explain plan for a statement that occurred in past. Oracle
  • Locktree.sql Oracle
  • My Minimum Tuning Programs Oracle
  • Single character replacement in Unix Linux/Unix
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • plan10g.sql good Oracle
  • How to analyze statspack or AWR report. Oracle
  • T-SQL Vs PL/SQL Syntax SQL Server
  • send attachment from unix-shell script Linux/Unix
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • Debugging Shell FIles 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

  • proc.sql Oracle
  • Rman Notes -1 Oracle
  • sqlnet.ora paramters Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Oracle Metalink useful notes Oracle
  • SQL Server: How to see historical transactions SQL Server
  • My Test Case On 21-OCT-2005 Oracle
  • Python class import from different folders Python/PySpark
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • ORA-3136 Oracle
  • S3 Basic info AWS
  • Roles and Stored Procs II Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme