From: Andres Freund <andres@anarazel.de>
To: Magnus Hagander <magnus@hagander.net>
Cc: Fujii Masao <masao.fujii@oss.nttdata.com>
Cc: skoposov@ed.ac.uk, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #16722: PG hanging on COPY when table has close to 2^32 toasts in the table.
Date: Wed, 18 Nov 2020 11:27:43 -0800
Message-ID: <20201118192743.kr43onoxci5gexjx@alap3.anarazel.de> (raw)
In-Reply-To: <CABUevExw6AHqC_U7nH83=rvF-xY_U8AUDbR94kBDqDR0hGqKXw@mail.gmail.com>
References: <16722-93043fb459a41073@postgresql.org>
<95bfb4b5-2e0e-8ab7-12cf-03fae3367c52@oss.nttdata.com>
<CABUevExw6AHqC_U7nH83=rvF-xY_U8AUDbR94kBDqDR0hGqKXw@mail.gmail.com>
Hi,
On 2020-11-18 11:57:05 +0100, Magnus Hagander wrote:
> This definitely sounds like something that's worth putting out as a
> wait event. Even before you start traversing millions of OIDs it might
> gradually start to show up, and being able to monitor that would
> definitely be useful.
I don't think this is likely to work well as a wait event. All the index
traversals etc will do IO, acquire locks, etc, which will overwrite the
wait event and reset it to nothing once done.
Greetings,
Andres Freund
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: andres@anarazel.de, magnus@hagander.net, masao.fujii@oss.nttdata.com
Subject: Re: BUG #16722: PG hanging on COPY when table has close to 2^32 toasts in the table.
In-Reply-To: <20201118192743.kr43onoxci5gexjx@alap3.anarazel.de>
References: <16722-93043fb459a41073@postgresql.org> <95bfb4b5-2e0e-8ab7-12cf-03fae3367c52@oss.nttdata.com> <CABUevExw6AHqC_U7nH83=rvF-xY_U8AUDbR94kBDqDR0hGqKXw@mail.gmail.com> <20201118192743.kr43onoxci5gexjx@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox