public inbox for [email protected]
help / color / mirror / Atom feedFrom: David Mullineux <[email protected]>
To: Eric Schwarzenbach <[email protected]>
Cc: [email protected]
Subject: Re: can a blocked transaction affect the performance of one that is blocking it?
Date: Tue, 10 Dec 2024 09:22:37 +0000
Message-ID: <CAGsyd8X1b+EXzf8o2iYEnqHm6D-wZxzrUq_R_bHa9t8wFxMqyA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Yes.
Also, are you sure you mean deadlock ? It sounded like this is just a
simple lock conflict and not a deadlock.
The first transaction could be blocked on something else (even tho it's not
ally short and quick ).
Lock requests are in a queue
On Mon, 9 Dec 2024, 21:16 Eric Schwarzenbach, <[email protected]>
wrote:
> Hi,
>
> Could one transaction (one that should be relatively simple and short)
> cause another complex, long running transaction (involving INSERTS, on a
> table the first transaction may be reading from) to take many orders of
> magnitude longer than it would normally? (short of competing for system
> resources, like CPU time etc, of course)
>
> I don't believe my scenario involved a deadlock but I expect my short
> transaction was probably blocked by my long one. Does it make any sense
> that this could very significantly affect the performance of the
> non-blocked transaction?
>
> Thanks,
>
> Eric
>
>
>
>
>
view thread (3+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: can a blocked transaction affect the performance of one that is blocking it?
In-Reply-To: <CAGsyd8X1b+EXzf8o2iYEnqHm6D-wZxzrUq_R_bHa9t8wFxMqyA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox