X lock is taken when CREATE OR REPLACE SYNONYM used to replace an existing synonym.
(Doc ID 2093385.1)
Last updated on NOVEMBER 13, 2019
Applies to:Oracle TimesTen In-Memory Database - Version 22.214.171.124.0 to 126.96.36.199.9 [Release 11.2]
Information in this document applies to any platform.
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()”
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