I'm gathering a vector of time/value pairs, in this case I/O latency versus time for a server. I'd like to store them in a MySQL database that is queryable by date, server and other metadata.
Examples:
- I want be able to query the I/O latencies from 1:00 PM to 3:00 PM for the server
Atriedes
on August 19th, 2007. - I want to also be able to query the times that the I/O latency on server
Harkonnen
where the I/O latencies are above 40 ms. - I want to find all the servers that had latencies above 100 ms on August 1st, 2007.
How should I structure my database to easily allow this?