Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Rman Notes -1 Oracle
  • Find long Running Transaction Linux/Unix
  • Kernel Parameters for Solaris Linux/Unix
  • secure crt settings Linux/Unix
  • TRUNCATE Privs Oracle
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • JSON/XML Types in Oracle Oracle
  • Handling LOB data in Oracle Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • V$INSTANCE of Oracle in MYSQL MYSQL

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

  • sqlnet.ora paramters Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • find_idle_cpu.sql Oracle
  • Oracle Internal Good Websites 1 Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • Export Oracle data and Compress at same time Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Physical Standby switchover with session active Oracle
  • get_vmstat_linux Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • db_status.sql Oracle
  • Nice notes on wait events Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • Giving Grant on v$DATABASE Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme