From: Gavin Flower <GavinFlower@archidevsys.co.nz>
To: Lee Nguyen <leemobile@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: Postgresql in a Virtual Machine
Date: Tue, 26 Nov 2013 09:08:14 +1300
Message-ID: <5293AE2E.5020405@archidevsys.co.nz> (raw)
In-Reply-To: <CAHghi5Cj_6KmwaUopF3y=vSjs3Q83VyXQy5DQhfLyP_Zt0yxbA@mail.gmail.com>
References: <CAHghi5Cj_6KmwaUopF3y=vSjs3Q83VyXQy5DQhfLyP_Zt0yxbA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
On 26/11/13 09:01, Lee Nguyen wrote:
> Hi,
>
> Having attended a few PGCons, I've always heard the remark from a few
> presenters and attendees that Postgres shouldn't be run inside a VM.
> That bare metal is the only way to go.
>
> Here at work we were entertaining the idea of running our Postgres
> database on our VM farm alongside our application vm's. We are
> planning to run a few Postgres synchronous replication nodes.
>
> Why shouldn't we run Postgres in a VM? What are the downsides? Does
> anyone have any metrics or benchmarks with the latest Postgres?
>
> Thanks!
>
> Lee Nguyen
I suspect that it is a performance and reliability issue that affects
any ACID database.
AFAIK, in a VM there is less certainty as to when a disk I/O is actually
complete and safely on the disk.
I think vm's are probably fine for testing, but not for production.
Cheers,
Gavin
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
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-performance@postgresql.org
Cc: GavinFlower@archidevsys.co.nz, leemobile@gmail.com
Subject: Re: Postgresql in a Virtual Machine
In-Reply-To: <5293AE2E.5020405@archidevsys.co.nz>
* 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