switch data base