Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

Next:From: peterDate: 2010-04-15 13:12:00
Subject: Re: Upgrading from PostgreSQL 7.4.3
Previous:From: Jasen BettsDate: 2010-04-15 09:56:59
Subject: Re: PostgreSQL Linux Distro

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group