Re: Assistance with Query Optimisation?

Поиск
Список
Период
Сортировка
От Shaun Johnston
Тема Re: Assistance with Query Optimisation?
Дата
Msg-id 45E763BA.3060001@benon.com
обсуждение исходный текст
Ответ на Re: Assistance with Query Optimisation?  ("Isak Hansen" <isak.hansen@gmail.com>)
Список pgsql-general

Isak Hansen wrote:
> First thing I notice is that your query plans seem to only use one index.
>
> Postgres should be able to combine the timestamp and account_id
> indexes in that first query, if the optimizer thought there was a
> point in doing so?
>
Absolutely brilliant - this solved my issue, brought the query time down
to about 2 seconds initially, then about 500 milliseconds thereafter.
Thank you very much for this tip.


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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: is pg_standby over nfs expected to work?
Следующее
От: "Frank Church"
Дата:
Сообщение: rpm containing pgdump