Skip to main content

ERROR 5156: Unavailabler: initiator locks for query - Locking failure: Timed out X locking

  • September 26, 2016
  • 2 replies
  • 16 views

UJJWAL_RANA
Forum|alt.badge.img+2
 
Hi 
I get ERROR : 5156  while triggering below mentioned query 
 
aqua=> DELETE FROM public.customer_dimension WHERE where cell_id=0
ERROR 5156: Unavailabler: initiator locks for query - Locking failure: Timed out X locking Table:ncell.CUSTOMER_DIMENSION. X held by [user ncellah (delete from ncell.access_dimension where cell_id=0). Your current transaction isolation level i s READ COMMITED
 
I following this link as well LOCK
 
BUT My question here is what is the steps if i wanted to UNLOCK  and trigger following query succesffuly
 
DELETE FROM public.customer_dimension WHERE where cell_id=0
 
PLEASE SUGGEST
 

2 replies

UJJWAL_RANA
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • September 27, 2016

Thanks Adrian. Thanks a lot


Adrian_Oprea_1
Forum|alt.badge.img+1
  • Participating Frequently
  • September 27, 2016

 This you got it fixed ? if so mark as fixed