From: Chris Hoover <revoohc@gmail.com>
To: pgsql-admin@postgresql.org Admin <pgsql-admin@postgresql.org>
Subject: Is there a limit to the number of partitions?
Date: Wed, 2 Jan 2008 11:40:21 -0500
Message-ID: <1d219a6f0801020840k27e076d9s913e5855a591ddd2@mail.gmail.com> (raw)
Is there a limit to the number of partitions a table can have in PostgreSQL?
The reason I as is we are looking again at partitioning our databases with
the possibility of doing the partitioning by year, month, or even day.
However, we are required by HIPPA to keep 7 years of data, and we are
planning on maintaining the data online in our databases. While I can't
imagine year or month being a problem, 7 years of daily partitions would be
2555+ partitions per table. Can PostgreSQL handle this many partitions per
table? Is that feasible, or would the cost of the rules become to expensive
to be feasible?
Thanks for any comments.
Chris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: revoohc@gmail.com
Subject: Re: Is there a limit to the number of partitions?
In-Reply-To: <1d219a6f0801020840k27e076d9s913e5855a591ddd2@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox