Re: Partitioning Advice

From: Ben Carbery <ben(dot)carbery(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Partitioning Advice
Date: 2012-06-11 02:41:37
Message-ID: CACp6DjBjYstGW-N2FUnXkXbCaeu_+GZMWuiMTRKtrzOJVOxX9w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Benson Jin 2012-06-11 03:34:47 Segmentation Fault
Previous Message Chris Travers 2012-06-11 00:47:49 Re: Run external SQL file via Perl dbh