top | item 46892779

(no title)

HackerThemAll | 26 days ago

I prefer PostgreSQL. Don't see any advantage of MySQL/Maria.

discuss

order

evanelias|26 days ago

A few major areas where MySQL/MariaDB excels:

Threaded connection model (no process spawning)

Undo-based MVCC (no need for vacuum)

InnoDB's use of a clustered index for PK (has pros/cons, but better for some workloads)

Ability to use alternative storage engines such as MyRocks (LSM based instead of B-tree; best-in-class compression)

Support for index hints (so query plans won't randomly change and bring your site down)

More mature logical replication (fully supports DDL, has no concept of limited "replication slots", etc)

That all said, there are also many areas where Postgres is better! Like all things in computer science, there are architectural trade-offs, and no single silver bullet is the best choice for all workloads.

waynesonfire|26 days ago

Your list confirms that MySQL is irrelevant to me.

dwedge|26 days ago

What do you see as advantages of postgres over mysql? I see these comments at work quite often and there isn't always much substance behind them

direwolf20|26 days ago

Different concurrency model