pgsql and lxc containers input
pgsql and lxc containers input
От:
ghiureai <isabella.ghiurea@nrc-cnrc.gc.ca>
Дата:
Hi List, I am looking to get some feedback using LXC containers and Pgsql, I am not able to find to much online , almost everything points to docker type container and PG., this was Sysadmin choice for db container. I would like to have some user cases or sample scripts for this type of containers for a production PG db with size 200GB. The basic lxc containers Sysadmin had come out is a one persistent volume :/var/lib/pgsql/data which would contain everything ( pg_xlog, 200 GB user database, archive dir , errorlog, ...etc etc ) and the default postgresql.conf , I would prefer to both of this item customized ( multiple mount points, customize postgres.conf, how I can upload my own postgresql.conf or make changes to default existing one ? , I see docker has Docker composer what will be lLXC equivalent ? ) , also how will run DB maintenance jobs in container ( we need crontab installed and a way to call maintenance shell scripts ?) Thank you Isabella
Re: pgsql and lxc containers input
От:
"Joshua D. Drake" <jd@commandprompt.com>
Дата:
On 04/04/2017 12:52 PM, ghiureai wrote:
> Hi List,
> I am looking to get some feedback using LXC containers and Pgsql, I am
> not able to find to much online , almost everything points to docker
> type container and PG., this was Sysadmin choice for db container.
LXC/LXD will likely be faster than Docker due to implementation. It is
more of a hybird container/hypervisor. You get an entire operating
system to work with instead of just the application.
Sincerely,
JD
--
Command Prompt, Inc. http://the.postgres.company/
+1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Everyone appreciates your honesty, until you are honest with them.
Unless otherwise stated, opinions are my own.