| From: | Ron Johnson <ronljohnsonjr(at)gmail(dot)com> |
|---|---|
| To: | Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: pg_bulkload slowing down |
| Date: | 2025-07-28 13:52:59 |
| Message-ID: | CANzqJaCuGmXvfTkL4eMzRmsys63WYZtZH2OrYZ05Rhx4oryxdA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
On Mon, Jul 28, 2025 at 9:23 AM Álvaro Herrera <alvherre(at)kurilemu(dot)de> wrote:
> On 2025-Jul-28, Sbob wrote:
>
> > All;
> >
> >
> > We are loading a series of files into a single table, each file has
> approx
> > 500million rows, the first file took ~ 1.25 hours, now on file number 8
> it
> > has been running for more than 10 hours, there is only a PK index on the
> > table.
>
> I bet it's trying to find unused OIDs for toast pointers -- there are
> only 2^32-1 of those available in any one toast table, and by the eighth
> file of 500 million rows, you'd run out.
>
That seems to imply you can only insert 4Bn rows into a table with attached
TOAST. Am I misunderstanding something?
--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ron Johnson | 2025-07-28 14:28:52 | Why many more deadlocks after upgrade to PG 17.5? |
| Previous Message | Álvaro Herrera | 2025-07-28 13:23:33 | Re: pg_bulkload slowing down |