TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Exploring performance differences between Amazon Aurora and vanilla MySQL

137 点作者 bjacokes将近 4 年前

9 条评论

encoderer将近 4 年前
This is a wonderful article. I recently discovered an aurora gem that saved me from some flakey mysqldump: you can save the results directly to s3 with a “select into outfile s3” query. This is, according to the docs, an optimized operation when run from a read replica.<p><a href="https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;AmazonRDS&#x2F;latest&#x2F;AuroraUserGuide&#x2F;AuroraMySQL.Integrating.SaveIntoS3.html" rel="nofollow">https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;AmazonRDS&#x2F;latest&#x2F;AuroraUserGuide...</a>
roopawl将近 4 年前
Every once in a while there is a well written blog post about database internal. Uber&#x27;s Postgres-MySql switch saga produced a few of them. This one is pretty good too
评论 #27541650 未加载
slownews45将近 4 年前
The simplest is probably read committed especially if like many ETL jobs you are just going to grab stuff using one read for further processing. Another option, do a read committed and omit last 15 minutes of data if you are doing long running jobs to avoid churn at end of tables &#x2F; logs.<p>I see folks doing serializable reads for historic ETL jobs with one read in the transaction - why? Is there some history &#x2F; tool issue I&#x27;m not familiar with?
评论 #27541923 未加载
whs将近 4 年前
We had similar problem where a running ETL job caused a production outage due to binlog pressure.<p>One thing that surprised us that our TAM says that on a 1 AZ write-heavy workload normal MySQL would have higher performance as Aurora synchronously write to storage servers in other AZs. On immediate read-after-write workload that would mean it would take longer time to acquire lock.
评论 #27542077 未加载
评论 #27542037 未加载
georgewfraser将近 4 年前
I wonder why Aurora shares undo logs between replicas? It’s perfectly possible for the read replicas to each re-create their own copy of the undo logs, and retain those undo logs for different durations based on the different long-running queries on each replica.
user3939382将近 4 年前
It seems like the benefits of cloud infrastructure have normalized vendor lock-in.<p>I’ve never used Aurora because I don’t want to code anything to the idiosyncrasies of AWS (or any other cloud provider).
评论 #27559255 未加载
exabrial将近 4 年前
One huge difference is in locking we discovered. Do not expect Aurora to do you any kind of favors in you actually use these features.
shepardrtc将近 4 年前
Really great article! I have a question: in it you say to keep an eye on RollbackSegmentHistoryListLength, and I want to do that, but I don&#x27;t know at what number does it become something to worry about. There doesn&#x27;t seem to be any guidance on AWS&#x27; site. I&#x27;m seeing ranges of 1,000 to 5,000 and sometimes 100,000.
评论 #27560924 未加载
wooly_bully将近 4 年前
H3 tags on this could really use a bump in size and contrast from the regular text.