Re:

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hung Nguyen <hungnq1989(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re:
Date: 2022-07-02 13:45:31
Message-ID: 263303.1656769531@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hung Nguyen <hungnq1989(at)gmail(dot)com> writes:
> I'm not sure if this is really a bug, but its' super weird if the query
> planner favors the trigram index over the b-tree index for joining is not
> optimal to me. Thank you so much.

I agree that sounds bad, but you've provided a conclusion with no
supporting evidence, making it impossible to investigate. A
self-contained test case that behaves this way would be ideal.
Otherwise, please see

https://wiki.postgresql.org/wiki/Slow_Query_Questions

and provide the info suggested therein.

regards, tom lane

In response to

  • at 2022-07-02 12:15:55 from Hung Nguyen

Responses

  • Re: at 2022-07-06 08:53:52 from Ronan Dunklau

Browse pgsql-bugs by date

  From Date Subject
Next Message Julien Rouhaud 2022-07-02 13:49:16 Re: your mail
Previous Message Hung Nguyen 2022-07-02 12:15:55