6 ms·
Started with MySQL, switched to PostGres for latest project, but latest project doesn't have any significant traffic yet, so I can't give you a field report yet
by nostrademons 19y ago
Started with MySQL, switched to PostGres for latest project, but latest project doesn't have any significant traffic yet, so I can't give you a field report yet.
MySQL can have fairly unpredictable performance characteristics if you're not an expert in it. It certainly can scale, but it's very easy to kill your performance if you're indexed wrong or have the wrong table type or wrong cache settings or run into table locking issues. (And these aren't theoretical issues; we've run into some of them at past MySQL-based websites.)
I don't have the time to spend debugging cache settings and EXPLAIN SELECTs and locking issues, so I went with Postgres, which supposedly has many fewer pitfalls "out of the box". Been happy with it so far, for development, but haven't needed to scale it yet.