Re: Loading table with indexed jsonb field is stalling

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Loading table with indexed jsonb field is stalling
Date: 2019-05-20 23:27:07
Message-ID: 71e50367-2375-86a8-f795-97c894728998@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 5/20/19 5:43 PM, Will Hartung wrote:
>> On May 20, 2019, at 2:55 PM, Ron <ronljohnsonjr(at)gmail(dot)com> wrote:
>>
>> And it pathologically loads even when there's just a PK on the numeric field?
> Yea, that works fine.
>
>> Drop all indexes, load data, recreate indexes?
> No, I use the incremental load as it gives a much better indication when the process has gone off the deep end.

That's fine for tracing errors in a test environment, but.

>> But pg_restore only creates indexes AFTER the data loads.
> Yes. Demonstrating that it doesn’t work either incrementally or all at once.
>
> (No, I have no confidence that the Aurora build will ever finish in any reasonable amount of time.)

I'm confused.  You wrote above that loading without indexes and with just
the PK works just fine; if you *really* need it loaded in Aurora or
production, just drop the indexes beforehand?

--
Angular momentum makes the world go 'round.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-05-20 23:39:30 Re: Loading table with indexed jsonb field is stalling
Previous Message Will Hartung 2019-05-20 22:43:42 Re: Loading table with indexed jsonb field is stalling