Re: need suggestion on querying big tables

Поиск
Список
Период
Сортировка
От Paul Smith
Тема Re: need suggestion on querying big tables
Дата
Msg-id 42cce6d0-0c4d-1e78-224f-f2908a3d536a@pscs.co.uk
обсуждение исходный текст
Ответ на Re: need suggestion on querying big tables  (Bo Guo <bo.guo@gisticinc.com>)
Список pgsql-admin
On 05/12/2022 12:14, Bo Guo wrote:
> Partitioning the table if possible should also help.

This really only helps if the partitioning is relevant to the query. 
Otherwise it can slow things down.

Eg, if you partition on date, and search on date, the partitioning will 
probably help, but if you partition on date, and search on name, it'll 
be no quicker, and will possibly be slower.


Paul


-- 


Paul Smith Computer Services
Tel: 01484 855800
Vat No: GB 685 6987 53

Sign up for news & updates at http://www.pscs.co.uk/go/subscribe



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

Предыдущее
От: Bo Guo
Дата:
Сообщение: Re: need suggestion on querying big tables
Следующее
От: Ron
Дата:
Сообщение: Re: need suggestion on querying big tables