Skip to main content

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

  • Sep 26, 2016 10:39 AM UTC
  • 2 replies
  • 17 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
  • Sep 27, 2016 11:33 AM UTC

Thanks Adrian. Thanks a lot


Adrian_Oprea_1
Forum|alt.badge.img+1
  • Participating Frequently
  • Sep 27, 2016 11:50 AM UTC

 This you got it fixed ? if so mark as fixed