Re: Partitioning

From: "Mikael Carneholm" <Mikael(dot)Carneholm(at)WirelessCar(dot)com>
To: <arnaulist(at)andromeiberica(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Partitioning
Date: 2007-01-05 11:47:08
Message-ID: 7F10D26ECFA1FB458B89C5B4B0D72C2B82CD0A@sesrv12.wirelesscar.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Take a look at the set of partitioning functions I wrote shortly after
the 8.1 release:

http://www.studenter.hb.se/~arch/files/part_functions.sql

You could probably work something out using those functions (as-is, or
as inspiration) together with pgAgent
(http://www.pgadmin.org/docs/1.4/pgagent.html)

/Mikael

> -----Original Message-----
> From: pgsql-performance-owner(at)postgresql(dot)org
[mailto:pgsql-performance-
> owner(at)postgresql(dot)org] On Behalf Of Arnau
> Sent: den 5 januari 2007 12:02
> To: pgsql-performance(at)postgresql(dot)org
> Subject: [PERFORM] Partitioning
>
> Hi all,
>
> I'm not sure if this question fits in the topic of this list.
>
> I'm interested in partitioning and it's the first time I'd use it.
> There is an issue I don't know how you handle it. Lets say I'm
> interested in store monthly based statistical data like the example of
> http://www.postgresql.org/docs/8.2/static/ddl-partitioning.html. What
I
> don't like of this approach is that the monthly tables, rules... must
be
> created "manually" or at least I haven't found any other option.
>
> My question is how do you manage this? do you have a cron task that
> creates automatically these monthly elements (tables, rules, ... ) or
> there is another approach that doesn't require external things like
cron
> only PostgreSQL.
> --
> Arnau
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Erik Jones 2007-01-05 18:02:04 Re: More 8.2 client issues (Was: [Slow dump?)
Previous Message Arnau 2007-01-05 11:02:21 Partitioning