Queuing db write.