I have a table in MySQL where arrive continuously data (these data have a timestamp). I'd like to create a FIFO Queue based on the size of the table. I mean, if I set for example 1GB as threshold and the data begin to be stored once I reach 1 GB of capacity I start to delete data in a fifo way. Anyone have any suggestions or have ever done anything similar?
Thank you