From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: More than one Cluster on single server (single instance)
Date: Mon, 18 Jul 2022 08:39:28 -0500
Message-ID: <f6a85a2c-2d8e-fd17-2db3-a721b0f4a6fa@gmail.com> (raw)
In-Reply-To: <CALfOM6KiWgcXzPP-__+mzk_UQzZkRXtaVRt6erbk7RAffTJXvw@mail.gmail.com>
References: <CALfOM6KiWgcXzPP-__+mzk_UQzZkRXtaVRt6erbk7RAffTJXvw@mail.gmail.com>
On 7/18/22 02:55, Daulat wrote:
>
> Hello Team,
>
> We are planning to create multiple clusters on a single server (single
> instance) with PostgreSQL V.10 to run multiple applications.
Version (9,6, 10, 111, 12...) does not matter.
> I don't know if it is a good idea to use a single machine to run n
> clusters but we are looking to minimize the cost of servers and other
> resources.
That depends on your circumstances.
> Please share your thoughts on this approach?
It allows you to do PITR backups without doing all-or-nothing restores.
> How can we create multiple clusters under a single postgres version?
Separate $PGDATA directories, and separate postgresql.conf files (with each
config file specifying a different port number: 5432, 5433, 5434, etc)
>
> How can we identify/allocate the resources to parameters like
> shared_buffers, effective_cache_size, work_mem etc in case of multiple
> clusters?
Very trickily.
--
Angular momentum makes the world go 'round.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: More than one Cluster on single server (single instance)
In-Reply-To: <f6a85a2c-2d8e-fd17-2db3-a721b0f4a6fa@gmail.com>
References: <CALfOM6KiWgcXzPP-__+mzk_UQzZkRXtaVRt6erbk7RAffTJXvw@mail.gmail.com> <f6a85a2c-2d8e-fd17-2db3-a721b0f4a6fa@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