Re: Query optimisation and sorting on external merge

Поиск
Список
Период
Сортировка
От Jake Stride
Тема Re: Query optimisation and sorting on external merge
Дата
Msg-id c9ce9fab0907290537y110dffb2y8fe148c1d63d5625@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Query optimisation and sorting on external merge  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-general
2009/7/29 A. Kretschmer <andreas.kretschmer@schollglas.com>:
> In response to Jake Stride :
>> Hi,
>>
>> I'm trying to optimise a query at the moment, I've added some new
>> indexes to stop seq scans, but I'm now trying to work out if I can
>> stop a join using external sort to speed up the query. I've included
>
> Increase work_mem to force sort in memory.
>

That stops the external storage thanks. I still think I need to
optimise the query though as there are 3 other similar queries which
are unioned together to form a view.

Jake
>
> Andreas

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

Предыдущее
От: nha
Дата:
Сообщение: Re: Query optimisation and sorting on external merge
Следующее
От: mzhang@ilww.com
Дата:
Сообщение: org.postgresql.util.PSQLException: PANIC: could not write to log file 6