ss - oscar

My SQL Dump

MySQL musings by a self professed MySQL Geek


  • 1
I'd definitely add a TIMESTAMP to your table. It's always great looking at data NOW, but looking at any data in the past you want to know when it occurred

It doesn't need a timestamp if you only ever take two samples and compare them.

The query I gave won't work with an arbitrary number of samples in the table.


I think I'll add it to sar-sql with the proper credit to you. Thanks for the tip.

  • 1
?

Log in