Re: combined indexes with Gist - planner issues?
От
Hans-Juergen Schoenig -- PostgreSQL
Тема
Re: combined indexes with Gist - planner issues?
Дата
Msg-id
4A9BD8DE.3060005@cybertec.at
Ответ на
Список
Дерево обсуждения
combined indexes with Gist - planner issues? Hans-Juergen Schoenig -- PostgreSQL <postgres@cybertec.at>
Re: combined indexes with Gist - planner issues? Tom Lane <tgl@sss.pgh.pa.us>
Re: combined indexes with Gist - planner issues? Hans-Juergen Schoenig -- PostgreSQL <postgres@cybertec.at>
Re: combined indexes with Gist - planner issues? Martijn van Oosterhout <kleptog@svana.org>
Re: combined indexes with Gist - planner issues? Hans-Juergen Schoenig -- PostgreSQL <postgres@cybertec.at>
Re: combined indexes with Gist - planner issues? Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: combined indexes with Gist - planner issues? Hans-Juergen Schoenig -- PostgreSQL <postgres@cybertec.at>
Re: combined indexes with Gist - planner issues? Markus Wanner <markus@bluegap.ch>
Tom Lane wrote:
> Hans-Juergen Schoenig -- PostgreSQL writes:
>
>> what we basically expected here is that Postgres will scan the table
>> using the index to give us the cheapest products containing the words we
>> are looking for.
>> i am totally surprised to see that we have to fetch all products given
>> the words, sort and then do the limit.
>>
>
> I don't know why you'd find that surprising. GIST indexes have no
> support for ordering.
>
> regards, tom lane
>
>
ok, i thought it would be something gist specific i was not aware of.
the golden question now is: i am looking for the cheapest products given
a certain text in an insane amount of data.
how to do it? other quals which could narrow down the amount of data
would not help.
i cannot see an option with regular "weapons" ...
maybe you can an idea how to fix core to make it work? maybe there is a
mechanism we could need.
we really have to make this work - no matter what it takes.
we are willing to put effort into that.
many thanks,
hans
--
Cybertec Schoenig & Schoenig GmbH
Reyergasse 9 / 2
A-2700 Wiener Neustadt
Web: www.postgresql-support.de
В списке pgsql-hackers по дате отправления