I tried to UPDATE and INSERT into a table, but it seems like the table is locked or something. When I execute this two commands, it just hang. But it'doing fine on SELECT.
Any idea why does it happen and how to solve this?
1. Do you have privileges to write to a table?
2. How big are your indexes? If you have very big index than it take some time to insert or update whole table.
3. Does it happen at single statement or at multiple insert or updates?
It turns out to be a cumulative of INSERT and/or UPDATES commands that got locked, for some reason. I ended these commands mannually, and now it runs again.
I should work on my script now, that causes the locking (jammed).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.