Database source switch