Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • Facts about SCN and Rollback Segment Oracle
  • Sample WW22 listener.ora Oracle
  • Python class import from different folders Python/PySpark
  • Flowers Resize datafiles Oracle
  • Good RAC & Standby Notes Oracle
  • how to find OS block size Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • Library cahe Latches and internal explaination Oracle
  • To see mem usage and CPU usage system wide. Linux/Unix
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • Parallel DML Oracle
  • Rman Notes -1 Oracle
  • Another export with Query Oracle
  • Jai Shree Ram 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

  • pvm_pre_change.sql Oracle
  • online_bkup.sql Oracle
  • Clean up Oracle
  • Error Handling in Proc Oracle
  • Resolving RMAN Hung Jobs Oracle
  • initUOCIOTTO.ora Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Rename Oracle Instance Name Oracle
  • crontab syntax Linux/Unix
  • findobj.sql Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • find_longsql.sql Oracle
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • Directory wise folder wise space usage Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme