Hi,
I have a MySQL DB which currently weighs in at around 200MB and will
be up in the GBs before long. It serves two purposes, collecting
transaction data and enabling reporting on that data.
More complex queries tend to run quite slowly. I've indexed the
appropriate columns which has sped things up a lot, however I notice
from running 'top', that when running such a query, MySQL grabs a good
99.9% of the CPU time.
As the DB gets larger and the site busier, am I going to be wise to
perhaps offload daily transaction data into a separate reporting DB,
preferably on a separate box, and keep the transaction DB small and
lean? Or would this be unnecessary, and provided I have enough HD
space / RAM / CPU power, I'll be OK?
Thanks in advance,
Rob