| From: | Chetan <chetansuttraway(at)gmail(dot)com> |
|---|---|
| To: | James Pang <jamespang886(at)gmail(dot)com> |
| Cc: | pgsql-performance(at)lists(dot)postgresql(dot)org |
| Subject: | Re: a lot of session wait on lock relation |
| Date: | 2025-05-15 09:31:12 |
| Message-ID: | CAHAB5PZDSofqCQgvGB_TnfYRtyNHxs_d70+BEuOx=psasZ9EqQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
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 <jamespang886(at)gmail(dot)com> 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Laurenz Albe | 2025-05-15 12:08:05 | Re: a lot of session wait on lock relation |
| Previous Message | James Pang | 2025-05-15 08:27:31 | a lot of session wait on lock relation |