Re: Partitioning Advice - Mailing list pgsql-general

From Ben Carbery
Subject Re: Partitioning Advice
Date
Msg-id CACp6DjBjYstGW-N2FUnXkXbCaeu_+GZMWuiMTRKtrzOJVOxX9w@mail.gmail.com
Whole thread Raw
In response to Re: Partitioning Advice  (Jasen Betts <jasen@xnet.co.nz>)
List pgsql-general
 
do many of the statistical queries use the whole month's data?
have you considered partitioning the log table by day?  if you can
reduce the number of rows involved in the table-scans by partitioning
it'll be help performance.

I am summarising by hour, day, week and month. So I guess partitioning by day would help for the daily and hourly summaries. 

Thanks for the suggestions everyone, I'll look into all these ideas.

cheers
 

pgsql-general by date:

Previous
From: Chris Travers
Date:
Subject: Re: Run external SQL file via Perl dbh
Next
From: Benson Jin
Date:
Subject: Segmentation Fault