Re: More than one Cluster on single server (single instance)

Поиск
Список
Период
Сортировка
От Ron
Тема Re: More than one Cluster on single server (single instance)
Дата
Msg-id f6a85a2c-2d8e-fd17-2db3-a721b0f4a6fa@gmail.com
обсуждение исходный текст
Ответ на More than one Cluster on single server (single instance)  (Daulat <daulat.dba@gmail.com>)
Список pgsql-general
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.



В списке pgsql-general по дате отправления:

Предыдущее
От: Mladen Gogala
Дата:
Сообщение: Re: More than one Cluster on single server (single instance)
Следующее
От: Ron
Дата:
Сообщение: Re: More than one Cluster on single server (single instance)