clean up truncatedb
adding time in data cache