Re: oracle to psql migration - slow query in postgres

Поиск
Список
Период
Сортировка
От Samuel Gendler
Тема Re: oracle to psql migration - slow query in postgres
Дата
Msg-id AANLkTikjAhheQmVu1ZE6a8e53amvC091+B-PkDePJ_63@mail.gmail.com
обсуждение исходный текст
Ответ на Re: oracle to psql migration - slow query in postgres  (Mladen Gogala <mladen.gogala@vmsinfo.com>)
Ответы Re: oracle to psql migration - slow query in postgres  (Mladen Gogala <mladen.gogala@vmsinfo.com>)
Список pgsql-performance


On Thu, Oct 14, 2010 at 8:59 PM, Mladen Gogala <mladen.gogala@vmsinfo.com> wrote:
 If working with partitioning, be very aware that PostgreSQL optimizer has certain problems with partitions, especially with group functions. If you want speed, everything must be prefixed with partitioning column: indexes, expressions, joins. There is no explicit star schema and creating hash indexes will not buy you much, as a matter of fact, Postgres community is extremely suspicious of the hash indexes and I don't see them widely used.
Having said that, I was able to solve the problems with my speed and partitioning.


Could you elaborate on this, please? What do you mean by 'everythin must be prefixed with partitioning column?'

--sam

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

Предыдущее
От: Jon Nelson
Дата:
Сообщение: odd postgresql performance (excessive lseek)
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Slow count(*) again...