Re: Declarative partitioning grammar - Mailing list pgsql-hackers

From Hans-Juergen Schoenig
Subject Re: Declarative partitioning grammar
Date
Msg-id F2D5A64C-94CC-4A45-9D2E-6F8D7A6DFD1E@cybertec.at
Whole thread Raw
In response to Re: Declarative partitioning grammar  (Markus Schiltknecht <markus@bluegap.ch>)
Responses Re: Declarative partitioning grammar  (Markus Schiltknecht <markus@bluegap.ch>)
List pgsql-hackers


sure, but this can become really tedious for 1024 partitions,

Well, managing 1024 partitions manually is a tedious job, no matter what grammar you take: You'll have to deal with 1024 different partition names.

What do you need so many partitions for?



imagine a structure which is partitioned by day. if you keep data for 3 years (which is perfectly reasonable) you already have 1000 partitions.
some applications produce so much data that splitting it into days is perfectly reasonable.
if your get 30 GB a day making monthly tables is not too funny anymore ...
just think of CREATE INDEX or VACUUM ...

having so many tables is not funny but it can be the only reasonable choice.

best regards,

hans

--
Cybertec Schönig & Schönig GmbH
PostgreSQL Solutions and Support
Gröhrmühlgasse 26, 2700 Wiener Neustadt
Tel: +43/1/205 10 35 / 340
www.postgresql.at, www.cybertec.at


pgsql-hackers by date:

Previous
From: Doug Knight
Date:
Subject: Re: Tuning Postgresql on Windows XP Pro 32 bit
Next
From: Martijn van Oosterhout
Date:
Subject: Re: SSL over Unix-domain sockets