Apple Interview Question

if the DB get down. how do you solve and also avoid the redundant time