DB retrieve in worker process