only read things from DB which are not already in memory
using DB