Re: Partitioning in postgres - basic question - Mailing list pgsql-performance

From Chris
Subject Re: Partitioning in postgres - basic question
Date
Msg-id 4705C95B.2040603@gmail.com
Whole thread Raw
In response to Partitioning in postgres - basic question  ("Tore Lukashaugen" <tore@lukashaugen.freeserve.co.uk>)
List pgsql-performance
Tore Lukashaugen wrote:
> Hi,
>
> I am new to postgres having worked with Oracle in the past. I am interested
> in understanding Postgres's table partition functionality better.
> Specifically, I have a third party application running against my postgres
> database, but the database is becoming rather large to maintain. I am
> thinking about partitioning the biggest table.
>
> Would I be able to set-up partitioning on this table with it being seemless
> to the third party app (assuming that it performs pretty standard DML
> statements against the table in question)?

http://www.postgresql.org/docs/8.2/static/ddl-partitioning.html#DDL-PARTITIONING-IMPLEMENTATION

The examples use rules but some on the list have said triggers work
better if you have a lot of partitions.

--
Postgresql & php tutorials
http://www.designmagick.com/

pgsql-performance by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Query taking too long. Problem reading explain output.
Next
From: Benjamin Arai
Date:
Subject: Slow TSearch2 performance for table with 1 million documents.