pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql and lxc containers input
2+ messages / 2 participants
[nested] [flat]

* pgsql and lxc containers input
@ 2017-04-04 19:52 ghiureai <isabella.ghiurea@nrc-cnrc.gc.ca>
  2017-04-04 23:11 ` Re: pgsql and lxc containers input Joshua D. Drake <jd@commandprompt.com>
  0 siblings, 1 reply; 2+ messages in thread

From: ghiureai @ 2017-04-04 19:52 UTC (permalink / raw)
  To: pgsql-admin

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




-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pgsql and lxc containers input
  2017-04-04 19:52 pgsql and lxc containers input ghiureai <isabella.ghiurea@nrc-cnrc.gc.ca>
@ 2017-04-04 23:11 ` Joshua D. Drake <jd@commandprompt.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Joshua D. Drake @ 2017-04-04 23:11 UTC (permalink / raw)
  To: ghiureai <isabella.ghiurea@nrc-cnrc.gc.ca>; pgsql-admin

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.


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-04-04 23:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-04-04 19:52 pgsql and lxc containers input ghiureai <isabella.ghiurea@nrc-cnrc.gc.ca>
2017-04-04 23:11 ` Joshua D. Drake <jd@commandprompt.com>

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