Re: How to best partition table

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: How to best partition table
Date: 2010-04-15 10:07:50
Message-ID: hq6ohm$ki4$2@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On 2010-04-14, Danny Lo <lo(dot)dannyk(at)gmail(dot)com> wrote:
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_001F_01CADBC3.17BD5470
> Content-Type: text/plain;
> charset="US-ASCII"
> Content-Transfer-Encoding: 7bit
>
> Thanks Jasen for your response to my previous question on table
> partitioning on query performance.
>
>
>
> A related question is how I should actually setup the table partition to
> best optimize performance.
>
> Unfortunately, my table of 20 columns will be about 1-1.5TB, much larger
> than 20GB.
>
>
>
> Specifically, should I be using a range partition or list partition or maybe
> both (ie further partitioning a child table?) and how many partitions should
> I actually use.

that depends on what sort of queries you will use.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message peter 2010-04-15 13:12:00 Re: Upgrading from PostgreSQL 7.4.3
Previous Message Jasen Betts 2010-04-15 09:56:59 Re: PostgreSQL Linux Distro