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

php - Cannot override Laravel Spark authentication with own implementation -

What is happening when Matlab is starting a "parallel pool"? -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -