Total newb in terms of databases/server management but currently running a large database:
- LAMP Stack Ubuntu
- WordPress platform (can't change)
- Over 100,000 database entries
- Site adds new entries via API 2x a day
- Site deletes expired entries 2x a day
- Users search entries for keyword matches
- Under 100 users a day
The server frequently gives mysql-slow errors, becomes unresponsive or uses >200% server resources. (Mostly CPU and seems to stem from MySQLd process).
I'm running on a Linode machine LAMP stack:
4 GB RAM
4 CPU Cores
96 GB SSD Storage
19.72 GB swap
No idea where to start learning about these types of issues. Would be great if someone can push me in the right direction to learn about common issues with large databases, or even to understand how MySQLd uses CPU memory and how I can better optimize that - as I figure with such low traffic it must be a config issue or a bad script.
I don't expect anyone to troubleshoot this, I just don't even know where to start.