Using AWS ephemeral SSD storage for production database workload?

Поиск
Список
Период
Сортировка
От Pritam Barhate
Тема Using AWS ephemeral SSD storage for production database workload?
Дата
Msg-id CALpo98USPhKVAPYDLf=S92cE8tYtxd4Vi1Wh=AqjGe=wH3SuNQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Using AWS ephemeral SSD storage for production database workload?  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Re: Using AWS ephemeral SSD storage for production database workload?  (Sam Gendler <sgendler@ideasculptor.com>)
Список pgsql-general
Hi everyone, 

As you may know, EBS volumes though durable are very costly when you need provisioned IOPS. As opposed to this AWS instance attached ephemeral SSD is very fast but isn't durable. 

I have come across some ideas on the Internet where people hinted at running production PostgreSQL workloads on AWS ephemeral SSD storage. Generally, this involves shipping WAL logs continuously to S3 and keeping an async read replica in another AWS availability zone. Worst case scenario in such deployment is data loss of a few seconds. But beyond this the details are sketchy. 

Have you come across such a deployment? What are some best practices that need to be followed to pull this through without significant data loss? Even though WAL logs are being shipped to S3, in case of loss of both the instances, the restore time is going be quite a bit for databases of a few hundred GBs. 

Just to be clear, I am not planning anything like this, anytime soon :-) But I am curious about trade-offs of such a deployment. Any concrete information in this aspect is well appreciated. 

Regards,

Pritam.

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

Предыдущее
От: "Kumar, Virendra"
Дата:
Сообщение: pgpool Connections Distributions Among Nodes
Следующее
От: Rakesh Kumar
Дата:
Сообщение: Re: PG Sharding