switched db