improve db performance and feed history, ratio, cash to db