Score:0

Can one detect, via the AWS RDS API, any I/O suspension when creating a snapshot for a single-AZ DB instance?

us flag

This is very similar to this existing question:

Unfortunately, the only answer provides more of a background about why a suspension is required/inevitable and neither answers that question more specifically nor provides any details sufficient to answer this question.

What I'd like to do is:

  1. Disable all of the applications using a specific RDS instance.
  2. Initiate creating a snapshot for the RDS instance.
  3. Detect when any I/O suspension has ended.
  4. Re-enable all of the applications using the RDS instance.

Is there a way to do [3] via the AWS RDS API? Could I, for instance, check the RDS instance status (and test that it's 'available')?

in flag
you can use DBInstanceStatus from aws rds describe-db-instances
Kenny Evitt avatar
us flag
@John Yes, that's what I was thinking – I mentioned it in my question. But I haven't found any AWS docs stating that. So far, from testing, the I/O suspension is apparently so brief that the instance is effectively instantly `'available'`.
in flag
I think the best you can do here is an experiment. BTW do not trust 100% RDs docs, I already found some places where it is not correct
Kenny Evitt avatar
us flag
@John That's definitely where I'm at now. So far, the I/O suspension, if there is any, is too brief to detect, using the status NOT being `'available'` as a proxy for any suspension. That's good, if the proxy is accurate.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.