Hstore index for full text search

From: Burhan Akbulut <burhan(dot)akbulut(at)cooksoft(dot)com(dot)tr>
To: pgsql-performance(at)postgresql(dot)org
Subject: Hstore index for full text search
Date: 2020-08-11 20:52:53
Message-ID: CACfxLrsWJh-nT1qbN3THbPD5igBWDHpj6acn77bD2p=netyq5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi all,

I need help in full text search optimization for hstore type. I added my
query to explain.depesz, you can check the query and also i added explain
analyze result in this link: https://explain.depesz.com/s/QT1e

table_ord.ops column type is hstore. I couldn't find the effective index
that would reduce the run time of the query.

When I tried to add an gin index to the hstore column, I got the following
error:

create index on table_ord USING gin (ops);
ERROR: index row size 2728 exceeds maximum 2712 for index " table_ord_
ops_idx"

How can I fix this query ?

Best Regards,

Burhan Akbulut
DBA - Cooksoft

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Michael Lewis 2020-08-11 21:55:16 Re: Hstore index for full text search
Previous Message Czarek 2020-07-29 14:18:44 Problems with Multixacts LWLocks