public inbox for [email protected]  
help / color / mirror / Atom feed
From: Chetan <[email protected]>
To: James Pang <[email protected]>
Cc: [email protected]
Subject: Re: a lot of session wait on lock relation
Date: Thu, 15 May 2025 10:31:12 +0100
Message-ID: <CAHAB5PZDSofqCQgvGB_TnfYRtyNHxs_d70+BEuOx=psasZ9EqQ@mail.gmail.com> (raw)
In-Reply-To: <CAHgTRfdEVMi_YVuq3M4R4uARhXQ8ZgkMid3LhxjFbS+Y+Z_8GQ@mail.gmail.com>
References: <CAHgTRfdEVMi_YVuq3M4R4uARhXQ8ZgkMid3LhxjFbS+Y+Z_8GQ@mail.gmail.com>

Hi James,

Could share the related test setup details?
Would like to look into this.

Thanks,
Chetan


On Thu, 15 May 2025 at 09:27, James Pang <[email protected]> wrote:

> Hi,
>    PGv 15.10,  many session coming in doing "insert into tablexxx
> values...." in parallel, this is a range partition tables, total 12
> partitions plus one default partition, only three btree indexes, no others
> constraints ,no foreign key. but we see hundreds of session waiting on
> "lock:relation", why inserts into partition table cause "relation lock" ?
>
> Thanks,
>
> James
>


-- 
-- 
Regards,
Chetan

+353899475147
+919665562626


view thread (6+ messages)  latest in thread

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: a lot of session wait on lock relation
  In-Reply-To: <CAHAB5PZDSofqCQgvGB_TnfYRtyNHxs_d70+BEuOx=psasZ9EqQ@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