embed cache: hit db only once