Re: Postgresql on EC2/EBS in production?

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Postgresql on EC2/EBS in production?
Дата
Msg-id 4BD71177.9070101@2ndquadrant.com
обсуждение исходный текст
Ответ на Postgresql on EC2/EBS in production?  ("Nikhil G. Daddikar" <ngd@celoxis.com>)
Ответы Re: Postgresql on EC2/EBS in production?  (Bryan Murphy <bmurphy1976@gmail.com>)
Список pgsql-general
Nikhil G. Daddikar wrote:
> I was wondering if any of you are using (or tried to use) PG+EC2/EBS
> on a production system. Are any best-practices. Googling didn't help
> much. A few articles I came across scared me a bit.

There have been a couple of reports of happy users:

http://blog.endpoint.com/2010/02/postgresql-ec2-ebs-raid0-snapshot.html
http://archives.postgresql.org/pgsql-general/2009-06/msg00702.php

There are two main things to be wary of:

1) Physical I/O is not very good, thus how that first system used a RAID0.

2) Reliability of EBS is terrible by database standards; I commented on
this a bit already at
http://archives.postgresql.org/pgsql-general/2009-06/msg00762.php The
end result is that you must be careful about how you back your data up,
with a continuous streaming backup via WAL shipping being the
recommended approach.  I wouldn't deploy into this environment in a
situation where losing a minute or two of transactions in the case of a
EC2/EBS failure would be unacceptable, because that's something that's a
bit more likely to hapen here than on most database hardware.

--
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us


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

Предыдущее
От: Vincenzo Romano
Дата:
Сообщение: Re: PostgreSQL Performance issue
Следующее
От: akp geek
Дата:
Сообщение: Open Source BI Tool