rowlocking
When exactly MySQL locks a row on updating InnoDB table?
If I have this multiupdate query UPDATE user u INNER JOIN user_profile up ON up.user_id = u.id SET u.name = \'same_name_i_already_had\', up.profile.age = 25[详细]
2023-03-16 12:18 分类:问答SELECT FOR UPDATE and WHERE condition on two indexed columns - what's locking strategy?
This question is a logical continuation of this one: How many rows will be locked by SELECT ... ORDER BY xxx LIMIT 1 FOR UPDATE?[详细]
2023-02-27 10:56 分类:问答How many rows will be locked by SELECT ... ORDER BY xxx LIMIT 1 FOR UPDATE?
I have a query with the following structure: SELECT ..... WHERE status = \'QUEUED\' ORDER BY position ASC LIMIT 1 FOR UPDATE;[详细]
2023-02-25 23:20 分类:问答MS-SQL Server selecting rows, locking rows. Unique returns
I\'m selecting the available login infos from a DB randomly via the stored procedure below. But when multiple threads want to get the available login infos, duplicate records are returned although I\'[详细]
2023-02-25 19:53 分类:问答Rowlock and lock escalation
I\'m trying to use rowlock to prevent certain rows being updated while it\'s running but the problem is that I can\'t use the tables at all while running this:[详细]
2023-02-08 07:27 分类:问答How to use rowlock and readpast with NHibernate?
I have an application which currently reads data from a table using the following stored procedure: CREATE PROCEDURE [dbo].[GetBatchOfEmails][详细]
2023-02-03 10:37 分类:问答SQL Server ROWLOCK over a SELECT if not exists INSERT transaction
I have upgraded from SQL Server 2005 to 2008. I remember that in 2005, ROWLOCK simply did not work and I had to use PAGELOCK or XLOCK to achieve any type of actual locking. I know a reader of this wil[详细]
2023-01-29 02:22 分类:问答"Atomic section" in Ruby MongoDB driver?
Is there a way to perform a set of non-atomic actions on MongoDB server (using the Ruby driver) as an single atomic action? What I need is basically a lo开发者_如何学Pythonck on certain object/collect[详细]
2023-01-26 01:54 分类:问答Long queue times for oracle row locks
I keep r开发者_JAVA百科unning into \"enq: TX - row lock contention\", when I run the Sql command below in a oracle 9 DB.[详细]
2022-12-22 20:05 分类:问答MySQL InnoDB locking only the affected rows?
I have an InnoDB table containing users, like this: +--------------+-----------------------+ user_id| name|[详细]
2022-12-09 01:46 分类:问答