From: Stephen Frost <sfrost@snowman.net>
To: rammohan ganapavarapu <rammohanganap@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Partitions
Date: Thu, 9 Nov 2017 19:18:57 -0500
Message-ID: <20171110001857.GV4628@tamriel.snowman.net> (raw)
In-Reply-To: <CALm_VjhFWgFcZkxZEE=8bGSxidfRf=UgAzXfkW4H62XPwhNikw@mail.gmail.com>
References: <CALm_VjhFWgFcZkxZEE=8bGSxidfRf=UgAzXfkW4H62XPwhNikw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Greetings,
* rammohan ganapavarapu (rammohanganap@gmail.com) wrote:
> I have a requirement to create monthly partitions in my db, i am trying to
> understand what is the best way to do it, i know i can run a cron job to
> check if partition exist and create if not at the starting of month. Any
> suggestions?
I'd suggest you take a look at pg_partman.
Thanks!
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
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: sfrost@snowman.net, rammohanganap@gmail.com
Subject: Re: Partitions
In-Reply-To: <20171110001857.GV4628@tamriel.snowman.net>
* 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