On 05/03/2011 01:48 PM, Joel Reymont wrote:

What are the best practices for setting up PG 9.x on Amazon EC2 to
get the best performance?

Use EC2 and other Amazon hosting for cloud-based client access only. Their shared disk services are universally despised by basically everyone who has tried to use it for database hosting.

The recommended pattern is to have the scalable cloud clients access (and memcache) a remote DB at a colo or managed services host. EBS is a nice idea, and probably fine for things like image or video hosting, but database access, especially for OLTP databases, will just result in wailing and gnashing of teeth.

Just ask anyone who got bit by the recent EBS failure that spanned *several* availability zones. For all those clients who thought they were safe by deploying across multiple ACs, it was a rather rude awakening.

http://aws.amazon.com/message/65648/

The consensus seems to be that Amazon's cloud is fine... so long as you stay far, far away from EBS. Apparently that needs a little more work.

--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604
312-676-8870
stho...@peak6.com

______________________________________________

See  http://www.peak6.com/email_disclaimer.php
for terms and conditions related to this email

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

Reply via email to