Re: Massive performance issues

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: Massive performance issues
Дата
Msg-id 4317D400.2080809@paradise.net.nz
обсуждение исходный текст
Ответ на Massive performance issues  (Matthew Sackman <matthew@lshift.net>)
Ответы Re: Massive performance issues
Список pgsql-performance
Matthew Sackman wrote:

> I need to get to the stage where I can run queries such as:
 >
> select street, locality_1, locality_2, city from address
> where (city = 'Nottingham' or locality_2 = 'Nottingham'
>        or locality_1 = 'Nottingham')
>   and upper(substring(street from 1 for 1)) = 'A'
> group by street, locality_1, locality_2, city
> order by street
> limit 20 offset 0
>
> and have the results very quickly.
>

This sort of query will be handled nicely in 8.1 - it has bitmap and/or
processing to make use of multiple indexes. Note that 8.1 is in beta now.

Cheers

Mark


В списке pgsql-performance по дате отправления: