From: | Benjamin Scherrey <scherrey(at)proteus-tech(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | Juan Manuel Cuello <juanmacuello(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: High WriteLatency RDS Postgres 9.3.20 |
Date: | 2018-06-19 03:15:52 |
Message-ID: | CACo3ShgbQU65qFCiUpoqggq6GqWTNfXa0YUVGF78OzsC7vgdmg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I would also add that AWS' I/O capabilities are quite poor and expensive. I
assume that you have tried purchasing additional IOOPs on that setup to see
whether you got an expected speed up? If not you should try that as a
diagnostic tool even if you wouldn't want to pay that on an ongoing basis.
We have a client that is I/O write bound and it has taken us significant
efforts to get it to perform well on AWS. We definitely run our own
instances rather than depend on RDS and have always been able to outperform
RDS instances which seem to really be focused to provide a PAAS capability
for developers who really don't want to have to understand how a db works.
Running our identical environment on bare metal is like night & day under
any circumstances when compared to AWS.
Client's requirement is AWS so we keep working on it and we like AWS for
many things but understand it will always underperform on I/O.
Post actual measurements with and without IOOPs or create your own PG
server instance and then people might be able to give you additional
insights.
- - Ben Scherrey
On Tue, Jun 19, 2018, 5:24 AM Andres Freund <andres(at)anarazel(dot)de> wrote:
> On 2018-06-18 18:43:06 -0300, Juan Manuel Cuello wrote:
> > I'm experiencing high WriteLatency levels in a Postgres server 9.3.20
> > hosted in Amazon RDS.
>
> A lot of performance improvements have been made since 9.3, and it'll
> soon-ish be out of support.
>
> If you can reproduce the issue on postgres proper, rather than a
> modified version in an environment that precludes getting detailed data,
> we might be able to sensibly help you further.
>
>
> > So far it's been almost two months of investigation
> > and people at AWS technical support don't seem to find the cause. I think
> > it could be related to Postgres and the number of schema/tables in the
> > database, that's why I post this issue here.
>
> There've been improvements made since 9.3. Upgrade.
>
> Greetings,
>
> Andres Freund
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2018-06-19 03:40:12 | Re: What to do when dynamic shared memory control segment is corrupt |
Previous Message | Robert Creager | 2018-06-19 00:28:03 | Re: Query hitting empty tables taking 48 minutes |