I'm looking for a little help working through some database scaling issues with #WriteFreely.
On our Write.as instance, we're up to 4.25 million rows in our `posts` table, and it's causing problems for some individual blogs with 9,000+ posts.
I have an idea of what some bottleneck queries are. But wondering if there are easy db optimizations we might make (indexes, etc.), and if anyone can help identify what they might be.
Boosts appreciated!
Have you enabled and looked at the slow query log?
https://dev.mysql.com/doc/refman/5.7/en/log-destinations.html
Here's a broad approach: https://coderpad.io/blog/development/optimize-query-performance-mysql/
@matt