Re: Loading table with indexed jsonb field is stalling

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Will Hartung <willhartung(at)gmail(dot)com>, Ron <ronljohnsonjr(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Loading table with indexed jsonb field is stalling
Date: 2019-05-20 23:39:30
Message-ID: 7c0a001e-d3d5-c521-1a27-77d05f547fef@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 5/20/19 3: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.
>
>> But pg_restore only creates indexes AFTER the data loads.
>
> Yes. Demonstrating that it doesn’t work either incrementally or all at once.

So the issue is building the index(s) not loading the data, correct?

>
> (No, I have no confidence that the Aurora build will ever finish in any reasonable amount of time.)
>
>
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Will Hartung 2019-05-20 23:49:45 Re: Loading table with indexed jsonb field is stalling
Previous Message Ron 2019-05-20 23:27:07 Re: Loading table with indexed jsonb field is stalling