database service finished