Get usage stats from db instead of acidstate
use new acidToSQL script