ruben81adelaide
Joined 5 years ago
Joined 5 years ago
Some queries that requires a large amount of memory to process started to use disk.
Once the autoscaling kicked in, even if we would have realized about it, wouldn't have helped as you are locked out of the system.
The auto-scaling event was triggered earlier than our alerts for low disk available.
What I don't know yet, is that we have been moving services for multiple days, and the service that required the work_mem parameter was in production in that AWS for 48 hours before started to use disk rather than memory to process the SQL Queries.
I agree with you. This actually makes a lot of sense. Probably the title reflected the anger and frustration that I was feeling after the poor support.
Actually the company that is being migrated to AWS is quite large, but not large enough to get in spending $1+mio annually. This migration was one system from many others that needs to be moved.
But, still, 10+ years ago the support in AWS was available for free to everybody, you would get in contact with a big nerd that knew the ins and outs of the system and would help you massively on pretty much anything.
Slowly, they allow just paid support, and now not even paying listen to your problems.
At the very beginning, it was the small(-ish) companies (which a few exceptions) which gave name to AWS, and an army of geeks talking all positive about the services.
If now they just work with large corporations, it is a big (and risky) change, which goes against the Amazon Leadership Principle "Customer Obsession".
Thanks for your feedback. Aurora is something that we would definitely look in the future, but with the levels of workload that we are currently experiencing postgres RDS should work for quite a long time.
> CockroachDB or Cassandra or something similar.
I can't wait for a business use case where I need something like this :) but unfortunately right now this is not the case.
This is a very good point. Will check.
> If you have RDS Enhanced Monitoring turned on do look at these metrics.
We don't have it enabled yet, but point taken.
> This is where having an AWS TAM is helpful - you can get them to re-esculate the support issue for a second opinion.
We currently have "Business". I requested support to escalate internally and he said that he could not.
The difference with the next level would be "Enterprise On-Ramp" ( https://aws.amazon.com/premiumsupport/plans/?nc=sn&loc=1 )
By checking the differences, looks like if we move to the next support we gain the following stuff:
- Business-critical system down: < 30 minutes - A pool of Technical Account Managers to provide proactive guidance, and coordinate access to programs and AWS experts - I think that we have already this service via our account manager. - Concierge Support Team - no idea what is this. I will check, but if anybody has any option whether this is worth it from experience, I would like to know.
Actually you pointed out to a clue that I missed. I should have checked cloud watch!
The free space graphs shows that at some point something got the 200 GB of space that we originally assigned.
This is a good clue that I am going to dig in.
Thanks for your feedback!
EDIT: Cloudwatch metrics in RDS has been the key to find the source of the issue.
I will see if there is anything visible in Cloud Watch.
> - Other than the (presumably) one change made to that RDS instance at ~4.30AM, were there any other changes made to it, specifically to its storage, prior to the autoscaling event?
At 4.30 the following has been logged: "Storage size 999 GB is approaching the maximum storage threshold 1000 GB. Increase the maximum storage threshold."
However the auto scaling event started at 10.17.
> - Had this service been tested on RDS prior to the migration being performed?
We have performed a dozen migration simulations in our Sandbox Account in multiple weeks. We developed scripts and automation to make the actual migration. The only difference in the Sandbox Account is that the RDS database was smaller in CPU and RAM.
> - Were any other changes made, that may potentially effect your DB? For example a query being changed or something of that nature.
I will double check with the team, but all the migration was fully automated with scripts. I have not been reported any action required outside executing the automation scripts and performing the plan.
Python- it has a very simple syntax and it’s easy to learn. It can be used for modular programming and object oriented and it is forgiving if you don’t strictly follow the best practices. Therefore it can help to make thing working while you’re learning