use memory DB