X lock is taken when CREATE OR REPLACE SYNONYM used to replace an existing synonym.
(Doc ID 2093385.1)
Last updated on MARCH 03, 2025
Applies to:
Oracle TimesTen In-Memory Database - Version 11.2.2.8.0 to 11.2.2.8.9 [Release 11.2]Information in this document applies to any platform.
Symptoms
User noticed that simple query on a synonym that points to a view in times ten, it creates a lock when user re-points the synonym to another view during their load process by doing CREATE OR REPLACE SYNONYM.
Get the error:
DatabaseError: ORA-04021: TT6003: Lock request denied because of time-out
Details: LockWait[10000ms] Tran 3.45789736 (pid 25984) wants X lock on command 193881933200. But tran 258.379698 (pid 21872) has it in S (request was S). Holder SQL (select x, count(1)
from MY.TABLE_VIEW group by x) -- file "eeMisc.c", lineno 1393, procedure "sbEeInvalidateCmdsOfObj()”
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |