TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PostgreSQL on ARM-Based AWS EC2 Instances

208 pointsby timfover 4 years ago

11 comments

lfittlover 4 years ago
When using pre-built Postgres packages on modern ARM platforms, like the author of this post is, double check that the Postgres binaries are actually using the ARMv8.2 assembly instructions.<p>This can make a significant performance difference, and at least for the RPM-based official Postgres packages this is a problem: <a href="https:&#x2F;&#x2F;www.postgresql.org&#x2F;message-id&#x2F;CACN56%2BP1astF5zvocrT7--Mu2dQWFS0eQ31xNmX%3Db%3D98y9fMSw%40mail.gmail.com" rel="nofollow">https:&#x2F;&#x2F;www.postgresql.org&#x2F;message-id&#x2F;CACN56%2BP1astF5zvocrT...</a>
评论 #25880325 未加载
评论 #25880704 未加载
ksecover 4 years ago
&gt; While ARM-based instance is 25 percent cheaper, it is able to show a 15-20% performance gain in most of the tests over the corresponding x86 based instances.<p>To put this into Workload per Dollar. Graviton 2 on AWS is roughly 50% to 60% cheaper. Now not every workload will benefits, there are many CPU intensive workload especially those benefits from SIMD won&#x27;t work as well on current Graviton 2. But there are enough workloads especially those dealing with Web Stack has shown huge cost savings.<p>Hopefully this add perspective when people are thinking Intel&#x27;s Server Platform is still relatively safe. I wrote something about it here [1].<p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25808856" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25808856</a>
sandGorgonover 4 years ago
We are having a persistent issue on ARM RDS instances of postgresql. They don&#x27;t come up after a reboot. Each time, we had to file support tickets and get the customer support to fix it.<p>They said it was happening because of load, which is a falsehood, since I&#x27;m talking about a machine coming up after a reboot.<p>There is something broken on ARM on AWS there. And even after multiple tickets, they aren&#x27;t able to fix it
fb03over 4 years ago
Has anyone here made the jump? I&#x27;m considering testing some components or our infrastructure on Gravitron processors but going all the way in with the database sounds risky but I don&#x27;t really have a technical data point to justify my bias.
评论 #25876010 未加载
评论 #25875948 未加载
评论 #25876371 未加载
评论 #25875885 未加载
评论 #25875900 未加载
评论 #25876040 未加载
评论 #25878558 未加载
评论 #25875917 未加载
booiover 4 years ago
The author makes it pretty clear this isn&#x27;t a comparison of ARM vs. x86 but with the specs being nearly identical, I&#x27;m finding it very hard not to draw that conclusion. The difference is even larger when you factor in the cost difference.<p>Are there other factors that could explain the large performance gap?
评论 #25875813 未加载
评论 #25876008 未加载
评论 #25875861 未加载
zaptheimpalerover 4 years ago
Does anyone know if&#x2F;when ARM is coming to GCP? Seems like a no-brainer for many use cases and our company would love to move, but we don&#x27;t have the resources to manage multiple clouds for now.
评论 #25879327 未加载
评论 #25877477 未加载
评论 #25876407 未加载
评论 #25878155 未加载
jpitzover 4 years ago
I would have liked to have seen a comparative bonnie++ benchmark - those SSDs are not the same.
darksaintsover 4 years ago
Has anybody tried out PostGIS on gravitron yet? I&#x27;d love to switch over, but I&#x27;m a little worried about what I&#x27;ll run into.
rsanheimover 4 years ago
With this sort of architecture switch for a database, would there be any reason to switch dev environments to use an ARM build of PSQL (where possible) as well to match production? PostgreSQL is often a core piece of apps that rely on it, but it sounds like this sort of change may be pretty much seamless from the application layer perspective.
评论 #25880591 未加载
maxpertover 4 years ago
Is it me or I see intel going down the PowerPC route now. I never imagined a niche micro-computer like acorn computers do something so revolutionary.
Thaxllover 4 years ago
Since DB are very often &quot;single&quot; instance you should use what scale vertically best which is x86 based.
评论 #25878408 未加载
评论 #25878098 未加载
评论 #25877285 未加载