Filling data between db and bbk optimized