pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Will Hartung <willhartung@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Will Hartung <willhartung@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Loading table with indexed jsonb field is stalling
Date: Mon, 20 May 2019 11:04:53 -0700
Message-ID: <A59A71A7-12CC-4B40-A507-07C887FA5620@gmail.com> (raw)
In-Reply-To: <acc82e12-6425-68a1-f7c9-c47746ee331c@aklaver.com>
References: <CAKMEDdxE95SC76wadMzrH454HpvCV4tOdEmuZRO=pwArEw6YVg@mail.gmail.com>
	<acc82e12-6425-68a1-f7c9-c47746ee331c@aklaver.com>

I send this earlier, but it did not make it to the list, so I’m resending it.

> On May 18, 2019, at 6:55 AM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:

> Is the jsonb field the only field in the table?
> 
> Can we see the table schema?

# \d eis_entity
                    Table "public.eis_entity"
          Column           |           Type           | Modifiers 
---------------------------+--------------------------+-----------
 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)

Thanks.

view thread (30+ messages)  latest in thread

Message-ID: <A59A71A7-12CC-4B40-A507-07C887FA5620@gmail.com>
Permalink:  ../A59A71A7-12CC-4B40-A507-07C887FA5620@gmail.com/
Also on:    postgresql.org/message-id/A59A71A7-12CC-4B40-A507-07C887FA5620@gmail.com

 · 

reply

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: willhartung@gmail.com, adrian.klaver@aklaver.com, pgsql-general@lists.postgresql.org
  Subject: Re: Loading table with indexed jsonb field is stalling
  In-Reply-To: <A59A71A7-12CC-4B40-A507-07C887FA5620@gmail.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