From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Will Hartung <willhartung@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Loading table with indexed jsonb field is stalling
Date: Mon, 20 May 2019 10:41:44 -0700
Message-ID: <a2d2c255-9634-29e2-6e49-bffb99eb821d@aklaver.com> (raw)
In-Reply-To: <CAKMEDdykxHQdWDaz0rW70iwdoEzQJYAOEQmupoTMoz0+TwMNbg@mail.gmail.com>
References: <CAKMEDdxE95SC76wadMzrH454HpvCV4tOdEmuZRO=pwArEw6YVg@mail.gmail.com>
<acc82e12-6425-68a1-f7c9-c47746ee331c@aklaver.com>
<CAKMEDdykxHQdWDaz0rW70iwdoEzQJYAOEQmupoTMoz0+TwMNbg@mail.gmail.com>
On 5/20/19 9:55 AM, Will Hartung wrote:
Please reply to list also.
Ccing list.
>
>
> On Sat, May 18, 2019 at 6:55 AM Adrian Klaver <adrian.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.com>> wrote:
>
> In addition to what Tim asked:
>
> Is the jsonb field the only field in the table?
>
> Can we see the table schema?
Did you see Tom Lane's post?
>
>
> # \d eis_entity
> Table "public.eis_entity"
> Column | Type | Collation |
> Nullable | Default
> ---------------------------+--------------------------+-----------+----------+---------
> eis_entity_key | numeric | | not
> null |
> eis_identifier_domain_key | numeric | | not
> null |
> global_id | character varying(80) | | not
> null |
> local_id | character varying(80) | | not
> null |
> eis_status_key | numeric | | not
> null |
> eis_entity_type_key | numeric | | not
> null |
> eis_entity_domain_key | numeric | | not
> null |
> all_trait_hash | numeric(10,0) |
> | |
> searchable_trait_hash | numeric(10,0) |
> | |
> created_date | timestamp with time zone |
> | |
> traits | jsonb |
> | |
> current_revision | numeric(8,0) | | not
> null |
> current_version_label | character varying(10) | | not
> null |
> Indexes:
> "eis_ent_traits" gin (traits jsonb_path_ops)
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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 using the --to and --cc options:
reply via email
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, willhartung@gmail.com
Subject: Re: Loading table with indexed jsonb field is stalling
In-Reply-To: <a2d2c255-9634-29e2-6e49-bffb99eb821d@aklaver.com>
* 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