Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Create type and Grant on it. Oracle
  • Renaming the column name Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix
  • get_aix_vmstat.ksh Oracle
  • Implementing Listener Security Oracle
  • cur_sql.sql Oracle
  • DBMS_Shared_pool pinning triggers Oracle
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • How to analyze statspack or AWR report. Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • column level grant syntax Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • chk_space_SID.ksh Linux/Unix
  • 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

  • Index Range Scan Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • Remove duplicate rows from table Oracle
  • find_string_in_database.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 (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
  • set_env_dba Linux/Unix
  • Privilege to describe the table. Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Linux CPU info. Linux/Unix
  • Building Our Own Namespaces with “Create Context” Oracle
  • Zip and unzip with tar Linux/Unix
  • Jai Shree Ram Oracle
  • Library cahe Latches and internal explaination Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme