Re: [PERFORM] Dissuade the use of exclusion constraint index

From: Adam Brusselback <adambrusselback(at)gmail(dot)com>
To: pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: [PERFORM] Dissuade the use of exclusion constraint index
Date: 2018-06-19 19:50:15
Message-ID: CAMjNa7d_m3XSrD+N1vgHZwcmmXVn2iPVgEQ6RH-kfEgmvaHNHA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hello all,
Just wondering if there is anything else I can provide to help figure this
out.

One thing I did notice, is there is a discussion about "invisible indexes"
going on, which seems that if it was implemented, would be one way to "fix"
my problem:
https://www.postgresql.org/message-id/flat/ed8c9ed7-bb5d-aaec-065b-ad4893645deb%402ndQuadrant(dot)com#ed8c9ed7-bb5d-aaec-065b-ad4893645deb(at)2ndQuadrant(dot)com

The down side to that approach, is even when that index really is the best
option for a query, it cannot utilize it.

Let me know if I can provide anything else.
-Adam

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Sasa Vilic 2018-06-20 13:21:26 Slow query when pg_trgm is in inner lopp
Previous Message Michael Sacket 2018-06-14 18:49:34 Re: Small query plan change, big performance difference