Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Kernel Parameters for Solaris Linux/Unix
  • Goldengate Tutorial Oracle
  • find_pdbs.sql Uncategorized
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • cur_sql.sql Oracle
  • RAC with RHEL4 and 11g Oracle
  • proc.sql Oracle
  • Remove duplicate rows from table Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • send email from unix mailx with attachment. Linux/Unix
  • compile_inv.sql Oracle
  • Create type and Grant on it. Oracle
  • USER_TABLES.Freelists Oracle

lck.sql

Posted on 19-Aug-2005 By Admin No Comments on lck.sql

select c.sid, c.serial#, c.username, a.object_id, b.object_name, c.program, c.status, d.name, c.osuser,

e.sql_text, DBMS_ROWID.ROWID_CREATE(1, c.ROW_WAIT_OBJ#, c.ROW_WAIT_FILE#, c.ROW_WAIT_BLOCK#, c.ROW_WAIT_ROW# ) locked_rowid

from v$Locked_object a, All_objects b, v$session c, audit_actions d, v$sqlarea e

where a.object_id=b.object_id

and a.session_id =c.sid(+)

and c.command=d.action

and c.row_wait_obj# != -1

and c.sql_id=e.sql_id;

Oracle, SQL scripts

Post navigation

Previous Post: The most important Tuning Notes
Next Post: Important Script Method for tuning

Related Posts

  • Wait.sql Oracle
  • plan10g.sql good Oracle
  • Library cahe Latches and internal explaination Oracle
  • To see how much time or progress of long transaction Oracle
  • Running PDB on single node in RAC Oracle
  • create database syntax 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 (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sql23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • Read CSV File using Python Python/PySpark
  • CPU Core related projections AWS
  • Postgres DB user and OS user. POSTGRESQL
  • Clean up Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • To check whether standby is recovering properly or not?? Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme