Reputation: 2102
I experience locks when I try to modify data in redshift table. It happens when there is an opened transaction. In such case my application can be locked for hours till the first transaction is either not committed or rollbacked.
What's the best way to avoid it?
Thanks!
Upvotes: 1
Views: 4652
Reputation: 2102
STV_LOCKS table shows the current locks.
More info:
Upvotes: 2