Bacsó Márton - 2017-04-09

It seems that with this command, I can remove accounting data that are older than a year. Now, radacct's size went down to 150Mb from 250.

mysql -uroot -pXXXX radiusdb --execute="DELETE FROM radacct WHERE acctstarttime < CURRENT_DATE() - INTERVAL 365 day"

Is it possible to keep the sum of the usage data and still shrink the size of the database?