switched database