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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Any one still using MySQL?

21 点作者 aloknnikhil大约 1 年前
Do you manage your own MySQL installation? - If not, what managed provider do you use? - Either way, what’s your biggest pain point?<p>Why not Postgres?

14 条评论

lemme_tell_ya大约 1 年前
&gt; Any one still using MySQL?<p>Yes, but more so MariaDB<p>&gt; Do you manage your own MySQL installation?<p>Yes and no, depends on the environment.<p>&gt; what managed provider do you use?<p>RDS<p>&gt; what’s your biggest pain point?<p>Nothing initially comes to mind.<p>&gt; Why not Postgres?<p>Habit? It&#x27;s what I learned with and just kept using. I understand it&#x27;s permission model better than Postgres. I know how to back it up, restore, and replicate. At one time (not sure if this is still the case) it was noticeably cheaper than Postgres in AWS for our use cases.<p>Some legacy systems can&#x27;t be migrated to postgres even if we wanted.<p>I&#x27;ve used Postgres and it has some nice features, especially with it&#x27;s data types but often find myself lost with it&#x27;s way of doing things. When possible I reach for SQLite instead of MySQL.
评论 #40302616 未加载
cholmon大约 1 年前
Yes, but MariaDB, mostly DIY on localhost (various test &amp; live VMs I manage).<p>Most painful? Replication with automatic failover could be easier to setup. Considering switching to MySQL 8.x for the new-ish innodb cluster tools (mysqlsh, mysql-router).<p>Why not Postgres? Familiarity, mostly using it for Drupal &amp; Wordpress sites where MySQL is king. Besides the occasional poorly-designed query that eats memory and causes timeouts, MySQL rarely needs my attention.<p>Side note: I&#x27;m excited for <a href="https:&#x2F;&#x2F;github.com&#x2F;mydumper&#x2F;mydumper">https:&#x2F;&#x2F;github.com&#x2F;mydumper&#x2F;mydumper</a>. Multi-threaded logical backups, 2 to 5 times faster than mysqldump. It&#x27;s not super stable yet, so we haven&#x27;t been relying on it for long term backups, but doing a &quot;mydumper to grab a schema on live, rsync down to laptop, myloader to import&quot; it&#x27;s been a big time saver.
评论 #40300305 未加载
评论 #40299695 未加载
rokkamokka大约 1 年前
Still using mysql here for a medium large 10+ year old application. We self-host one master and two replicated slaves. Biggest pain point we&#x27;ve had is issues with locking and transaction timeouts as the application has gained users, but this isn&#x27;t really mysqls fault.<p>We&#x27;ve never seen the point of converting to postgres, a lot of work for little if any gain?
jitl大约 1 年前
I think Postgres has more features, MySQL has more scalability. Citus exists for Postgres but seems to have a much smaller community compared to MySQL active active replication or Vitess&#x2F;Planetscale. I would probably pick Postgres for personal projects, but potentially consider MySQL&#x2F;Planetscale for something that needs to hold petabytes.
HeckFeck大约 1 年前
Using MySQL for private infrastructure and using Postgres for our production app.<p>No strong reasons for it, but I wanted to try psql after decades of toying with MySQL. I like it despite its weird insistence on snake case for everything.
评论 #40300286 未加载
rietta大约 1 年前
Yes. I prefer PostgreSQL but more than a few clients who were already built on MySQL are still using it or MariaDB. As for managed provider, typically AWS RDS, or a few are still directly hosted. MariaDB is easy to run natively for a small to medium site on a VPS.<p>Biggest pain points are pretty much transactions around schema changes (Ruby on Rails context) meaning is possible to trash a database with changes that go wrong. Also implementing full text search is always a bit harder than it is with PostgreSQL. The capability is there but end up having to do custom queries.
gmiller123456大约 1 年前
Of course. Why Postgres and not MySQL?
评论 #40300310 未加载
评论 #40299436 未加载
geenat12 个月前
Vitess<p>Planetscale<p>Lack of simple HA in Citus is a big pain point.
pacifika大约 1 年前
WordPress is not compatible with Postgres.
alserio大约 1 年前
mysql e pg have different performance characteristics, it is not trivial to migrate existing applications between them. Overall, MySQL 8 has gotten a lot better than it used to be. Sometimes the query planner can be a bit stupid on some complex queries, but that is true sometimes also for pg.
slake大约 1 年前
Not an answer to this question. Is there a Postgres.app equivalent for mysql on MacOs?
nittanymount大约 1 年前
seems it is still in many systems, guess database is not easy to migrate, and does not bother to if no real need...
verdverm大约 1 年前
yup, via Dolt (git+mysql)
p2hari大约 1 年前
hjskvh