optimize dbcache