Re: Vertical and Horizontal Table Partition

From: Enrico Sirola <enrico(dot)sirola(at)gmail(dot)com>
To: T(dot)J(dot) Adami <adamitj(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Vertical and Horizontal Table Partition
Date: 2008-02-18 12:56:55
Message-ID: B45C760F-C881-4018-81B2-7F03C3679BAD@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

inheritance + triggers probably. there's an example on the pgsql
documentation

Il giorno 18/feb/08, alle ore 13:18, T.J. Adami ha scritto:

> I know that using tablespaces I can create a vertical partition by
> creating two tables with the same primary key wich stores different
> columns in each table.
>
> However, I need to do some horizontal partition that receives about
> 2,000,000 records per month.
>
> What the best way to perform this horizontal partition in a single
> table?
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: explain analyze is your friend

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paul Boddie 2008-02-18 13:08:26 Re: Auto incrementing primary keys
Previous Message dave. 2008-02-18 12:52:16 Automatic partitioning,