Re: Importing a Large .ndjson file - Mailing list pgsql-general

From Sankar P
Subject Re: Importing a Large .ndjson file
Date
Msg-id CAMSEaH4fsyeFOtUmAGeXTOU-UUEqOaanG1OqNmrFNBKwa3iY0g@mail.gmail.com
Whole thread Raw
In response to Re: Importing a Large .ndjson file  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> Sankar P <sankar.curiosity@gmail.com> writes:
> > I spoke too soon. While this worked fine when there were no indexes
> > and finished within 10 minutes, with GIN index on the jsonb column, it
> > is taking hours and still not completing.
>
> There's the generic advice that building an index after-the-fact
> is often cheaper than updating it incrementally.  For GIN indexes
> specifically, see also
>
> https://www.postgresql.org/docs/current/gin-tips.html

Thanks guys.

-- 
Sankar P
http://psankar.blogspot.com



pgsql-general by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Parallel safety of contrib extensions
Next
From: Paul Förster
Date:
Subject: Re: Netapp SnapCenter