Re: What needs to be done for real Partitioning?

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: PFC <lists(at)boutiquenumerique(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: What needs to be done for real Partitioning?
Date: 2005-03-21 18:26:24
Message-ID: 1111429584.4675.40.camel@fuji.krosing.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On P, 2005-03-20 at 00:52 +0100, PFC wrote:
> > tableoid would accomplish that already, assuming that the "partitioned
> > table" is effectively a view on separate physical tables.
> >
> > regards, tom lane
>
> Very good.
>
> Also note the possibility to mark a partition READ ONLY. Or even a table.
> It does not seem very useful but just think that for instance the "1999",
> "2000" ... "2004" partitions of a big archive probably never change.
> READLONY means we're sure they never change, thus no need to backup them
> every time. Keeping the example of some DB arranged by years / current
> year / current month, Just backup the "current month" part every day and
> the "current year" every month when you switch partitions.
> This could be achieved also by storing the time of last modification of a
> table somewhere.

Would we still need regular VACUUMing of read-only table to avoid
OID-wraparound ?

--
Hannu Krosing <hannu(at)tm(dot)ee>

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Hannu Krosing 2005-03-21 18:31:58 Re: What needs to be done for real Partitioning?
Previous Message Hannu Krosing 2005-03-21 18:23:15 Re: What needs to be done for real Partitioning?