Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Clean up Oracle
  • proc.sql Oracle
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • Debugging Shell FIles Linux/Unix
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Rename Oracle Instance Name Oracle
  • find_cons.sql Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • Rollback force for distributed transactions Oracle
  • shutdown linux Linux/Unix
  • check_copy_progress.sh Linux/Unix
  • mutex in Oracle 10.2.0.2 or Oracle 10g 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

  • Another export with Query Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • Finding Oracle Patches with opatch Oracle
  • compile_inv.sql Oracle
  • perf_today.sql 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 (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Ports used by Oracle Software Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • Changing the Global Database Name Oracle
  • Implementing Listener Security Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • My Minimum Tuning Programs Oracle
  • Committing distributed transaction using commit force Oracle
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme