Name

vdd_disconnect_data_source — Disconnects a data source if no active transactions are using resources from it.

Synopsis

vdd_disconnect_data_source ( in dsn varchar );

Description

You must have DBA privileges to run that function.

This function disconnects all the idle opened connections to a VDB datasource. If there are active transactions server-side, using connections to that datasource, they are not closed. After they finish, this function can be called again to disconnect the new idle connections.

The datasource continues to be valid and any subsequent transactions using this datasource will open a new connection to it.

Parameters

dsn

The name of the remote datasource to disconnect.