From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Jeremy Schneider <schnjere@amazon.com>
To: pgsql-general@lists.postgresql.org
Cc: Christophe Pettus <xof@thebuild.com>
Cc: Chris Williams <cswilliams@gmail.com>
Subject: Re: Slow shutdowns sometimes on RDS Postgres
Date: Fri, 14 Sep 2018 14:36:13 -0700
Message-ID: <048ef951-a02a-9c7c-9483-61979e42f21f@aklaver.com> (raw)
In-Reply-To: <4c65f988-a5ee-53f1-2d58-476a5c244cd2@amazon.com>
References: <CAGj2PiRL_N8B4RzfUt0DQmhs6pugY17FnjekV_8v5FB7X5ZZFg@mail.gmail.com>
<2029f1ad-23e5-5e81-4409-a76386f71382@commandprompt.com>
<aefb4da4-1e0b-986d-ce4b-0f7303b977ad@amazon.com>
<BEA92A44-9A6D-4338-AA03-1EC19AE4B013@thebuild.com>
<4c65f988-a5ee-53f1-2d58-476a5c244cd2@amazon.com>
On 9/14/18 12:11 PM, Jeremy Schneider wrote:
> On 9/14/18 10:04, Christophe Pettus wrote:
> Thanks Christophe - even if it's not what Chris is running into, this is
> is another good call-out.
>
> It's important to distinguish here between the RDS parts and the
> community PostgreSQL parts. I think for this thread it's just worth
> pointing out that RDS automation/tooling will report the database in a
> "modifying" state until it completes its management operations, however
> the actual database unavailability is much shorter. RDS carefully
> engineers their processes to minimize the actual database unavailability
> itself.
>
> Chris has run into a problem where the PostgreSQL processes did not shut
> down, evidenced by the error messages he mentioned, and as a result his
> database was actually unavailable to applications for an extended
> period. This is uncommon and concerning.
>
> This isn't the right forum for discussing the RDS bits; lets take that
> to the AWS forums. It's not synchronous, but the time to complete
> should absolutely be predictable within reasonable bounds depending on
> the operation type. I don't know how anyone could use the platform
> otherwise! If anyone is unable to establish bounded expectations for
> some automated operation, I'd strongly encourage starting a thread on
> the AWS forums or opening a support ticket.
Not sure I follow. RDS using Postgres is a set, so I am not sure you can
unbundle then when tracking down a bug.
>
>
> On 9/14/18 09:27, Adrian Klaver wrote:
>> The thing is I do not remember any posts to this list mentioning the
>> same problem on a platform outside RDS. A quick search seems to
>> confirm that.
> I've met folks from other large fleet operators at PG conferences. There
> are all kinds of stories we don't find on the lists yet. :) Hopefully
> we're all getting better about closing the loop and sharing stuff back -
> that's part of the value large fleet operators can and should bring to
> the community.
Hopefully sooner rather then later.
> -Jeremy
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, schnjere@amazon.com, xof@thebuild.com, cswilliams@gmail.com
Subject: Re: Slow shutdowns sometimes on RDS Postgres
In-Reply-To: <048ef951-a02a-9c7c-9483-61979e42f21f@aklaver.com>
References: <CAGj2PiRL_N8B4RzfUt0DQmhs6pugY17FnjekV_8v5FB7X5ZZFg@mail.gmail.com> <2029f1ad-23e5-5e81-4409-a76386f71382@commandprompt.com> <aefb4da4-1e0b-986d-ce4b-0f7303b977ad@amazon.com> <BEA92A44-9A6D-4338-AA03-1EC19AE4B013@thebuild.com> <4c65f988-a5ee-53f1-2d58-476a5c244cd2@amazon.com> <048ef951-a02a-9c7c-9483-61979e42f21f@aklaver.com>
* 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