Re: Performance issues with large amounts of time-series data

Поиск
Список
Период
Сортировка
От Hrishikesh (हृषीकेश मेहेंदळे)
Тема Re: Performance issues with large amounts of time-series data
Дата
Msg-id a7c00d4b0909011511r28b7b3a4s53eaf19007ff2895@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Performance issues with large amounts of time-series data  (Greg Smith <gsmith@gregsmith.com>)
Список pgsql-performance
Hi Tom, Greg,

Thanks for your helpful suggestions - switching the BIGINT to FLOAT
and fixing the postgresql.conf to better match my server configuration
gave me about 30% speedup on the queries.

Because of the fact that my data insert order was almost never the
data retrieval order, I also got a significant (about 3x - 10x)
speedup by CLUSTERing the tables on an index that represented the most
frequent query orders (main_id, timestamp, sub_id, device_id) - the
queries that were taking a few seconds earlier now complete in a few
hundred milliseconds (5s vs. 600ms in some instances).

Thanks Again,
Hrishikesh

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

Предыдущее
От: Robert Schnabel
Дата:
Сообщение: Re: moving data between tables causes the db to overwhelm the system
Следующее
От: Kevin Kempter
Дата:
Сообщение: partition queries hitting all partitions even though check key is specified