IQ 16 user 'another user' has the row '' locked.
Good day everyone. I'm working on this database and I get this error when adding a new column to a table. User 'another user' has the row '<tablename>' locked. To this database is also used by...
View ArticleRe: IQ 16 user 'another user' has the row '' locked.
YOu can look at sp_iqlocks and see who is holding lock on the table, you can either let that process finish and then try to alter table again, Alter table does need exclusive lock on the table
View ArticleRe: IQ 16 user 'another user' has the row '' locked.
Thanks for fast reply Saroj, after running sp_iqlocks it shows that the table has many rows all for user_id=dba, lock_duration=Transaction and lock_type=Shared. It calls my attention cuz there is...
View ArticleRe: IQ 16 user 'another user' has the row '' locked.
it seems I can use drop connection <conn_id> . I still wonder why so many locks since nobody is working on this table. But with the help provided I was able to drop the locks. Thanks.
View ArticleRe: IQ 16 user 'another user' has the row '' locked.
Next time before dropping such connection, you can run Select Userid , IQconnID , NodeAddr , ConnCreateTime from sp_iqconnection() where ConnHandle = NNN NNN is connetion handle number which you are...
View ArticleRe: IQ 16 user 'another user' has the row '' locked.
Thanks for reply Milind, The locks are from the BO server IP address and they are since 2 days ago, userid is dba. I wonder why BO server is locking rows if there is no insert or updates from this...
View ArticleRe: IQ 16 user 'another user' has the row '' locked.
In IQ, even SELECT statements send an internal BEGIN TRAN to the server to be able to protect the data set version accessed in that session. Therefore you need to make sure that there is no READER in...
View ArticleRe: IQ 16 user 'another user' has the row '' locked.
Hello Sengul , thanks for your reply and the clear explanation about how IQ works locking even when querying data. I was unable to find the AUTOPRECOMMIT in advanced options in the system DSN ODBC...
View ArticleRe: IQ 16 user 'another user' has the row '' locked.
Hi Emerson, There is no such option in ODBC. When you click on "Advanced" in IQ ODBC profile there is an editable window, you need to put AUTOPRECOMMIT=YES into that area. Regards,
View ArticleRe: IQ 16 user 'another user' has the row '' locked.
thanks Sengul, I was looking to the predefined parameter only but you are rigth there is a textbox above to input custom parameters. best regards,
View Article