sql - User informix holding onto table lock -


i running informix v12.10 on aix. problem having occurs when logged in user informix. run simple query in sql such "select colour oceans;"

this place open cursor lock on table — great. find if lock on table, use:

onstat -g opn > filename.txt 

redirecting output file can sift through it. then

cat filename.txt | grep -p hexnumber 

where hexnumber hexadecimal number of table. user

onstat -u | grep session id 

now, lock held user informix, , when close session , wait amount of time , redo processing, lock remains.

please advise on why lock not freed.

a table being opened not lock. obvious "self promotion" warning, suggest should use "ixtableuse" (https://github.com/domusonline/informixscripts/blob/master/scripts/ix/ixtableuse). should give information if there preventing alter table example.

if find useless, please tell me why. if find useful find issue, please same.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -