modifications for using disk cache of DB data