11.2.1 Operands related to connection to and disconnection from a foreign server
- 1) pd_hb_db_con = STARTUP | ACCESS
- Specifies the timing to connect to a foreign server.
- STARTUP:
- Connects to a foreign server when a back-end server process is started.
- When STARTUP is specified, the foreign server is connected even when there is no processing involving it. Therefore, if there is a limit on the number of foreign servers that can be connected, specify ACCESS.
- ACCESS:
- Connects to a foreign server only when a back-end server process requests access to the foreign server.
- 2) pd_hb_db_dis_con = SHUTDOWN | COMMIT
- Specifies the timing to disconnect from a foreign server.
- SHUTDOWN:
- Disconnects from the foreign server when a back-end server process is terminated.
- When SHUTDOWN is specified, the foreign server is connected even when there is no processing involving it. Therefore, if there is a limit on the number of foreign servers that can be connected, specify COMMIT.
- COMMIT:
- Disconnects from the foreign server immediately after COMMIT is issued to the foreign server.