Database context

Each time the client connection changes its database context (usually by issuing a USE statement), OpenSwitch captures the context change information and keeps track of the current database in use by the connection. This information is used during a switch or failover to restore the user’s database context back to its original state.