Re: ORDER BY using index, tsearch2 [READ THIS!]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Janek Sendrowski" <janek12(at)web(dot)de>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: ORDER BY using index, tsearch2 [READ THIS!]
Date: 2013-12-11 23:33:32
Message-ID: 16510.1386804812@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Janek Sendrowski" <janek12(at)web(dot)de> writes:
> How can I use this ORDER BY using index feature presented in this implementation.
> It doesn't seem to be in use, when I have a look in my query plan.
> It still does an cost intensive Bitmap Heap Scan and a Bitmap Index scan.
> I also can't find the "><" operator in any introduction of the tsearch2 extension.
> Is it just an idea?

We're not in the habit of documenting nonexistent features, if that's what
you mean. However, you've not provided nearly enough information for
anyone to help you; at minimum, the index definitions you have, the query
you gave, the plan you got, and the exact PG version would be critical
information. More information about asking answerable questions can be
found here:
https://wiki.postgresql.org/wiki/Slow_Query_Questions

Also, I'm a bit troubled by your reference to tsearch2, because that
contrib module is obsolete, and has been since well before any PG version
that has a feature like what I think you're asking about. So I wonder if
you are reading documentation not applicable to the version you're working
with.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Craig James 2013-12-11 23:38:09 Re: ORDER BY using index, tsearch2
Previous Message Janek Sendrowski 2013-12-11 22:31:48 ORDER BY using index, tsearch2 [READ THIS!]