pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Ron <ronljohnsonjr@gmail.com>
To: 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 19:54:27 -0500
Message-ID: <792059f6-9815-03c2-5ccd-9d21c61925b6@gmail.com> (raw )
In-Reply-To: <C3D03C39-1AFD-40BA-B4A4-4D6C483A1699@gmail.com >
References: <CAKMEDdxE95SC76wadMzrH454HpvCV4tOdEmuZRO=pwArEw6YVg@mail.gmail.com >
<20505.1558202555@sss.pgh.pa.us >
<90835D2B-1FBA-4F26-8157-7C831C24B266@gmail.com >
<cdc049f0-1980-f5a8-726a-629345b41ef0@aklaver.com >
<3A35A039-D8F5-4B40-9B41-42E70BEF2C2E@gmail.com >
<806d4915-f05d-8e75-0a42-e11b48596ab5@gmail.com >
<12E9FEDD-37E9-4D51-9BA7-94FF5039BB1B@gmail.com >
<563e995f-d7b1-7e2f-c1f1-b00db7a18589@gmail.com >
<3EF519CA-17FE-4B68-8B7A-78200E0A408F@gmail.com >
<71e50367-2375-86a8-f795-97c894728998@gmail.com >
<3CC10064-7BF0-4600-BC67-8B6F412C9CDC@gmail.com >
<0a8876b8-f4de-4bc2-72c8-afe5dfe6fde2@gmail.com >
<C3D03C39-1AFD-40BA-B4A4-4D6C483A1699@gmail.com >
On 5/20/19 7:21 PM, Will Hartung wrote:
>> On May 20, 2019, at 5:15 PM, Ron <ronljohnsonjr@gmail.com> wrote:
>>
>> Are there a sufficiently small number of elements in each traits object that you can do something like this, on the UNINDEXED table?
>> SELECT traits->element1, traits->element2, count(*)
>> from eis_entry
>> group by traits->element1, traits->element2;
>>
>> Sure it would run for a long time, but might show you where the problem lies.
> I don’t quite understand what you’re trying to achieve here. Is the intent essentially to access each individual element within the json on the select statement? There’s at least 50 elements in this thing,
Like I said earlier... "Are there a sufficiently small number of elements in
each traits object...?" But obviously there aren't.
--
Angular momentum makes the world go 'round.
view thread (30+ messages) latest in thread
Message-ID: <792059f6-9815-03c2-5ccd-9d21c61925b6@gmail.com>
Permalink: ../792059f6-9815-03c2-5ccd-9d21c61925b6@gmail.com/
Also on: postgresql.org/message-id/792059f6-9815-03c2-5ccd-9d21c61925b6@gmail.com
copy link · copy postgr.es
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: ronljohnsonjr@gmail.com, willhartung@gmail.com, pgsql-general@lists.postgresql.org
Subject: Re: Loading table with indexed jsonb field is stalling
In-Reply-To: <792059f6-9815-03c2-5ccd-9d21c61925b6@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