skip to main content
Using the Driver : Timeouts
  

Try DataDirect Drivers Now

Timeouts

The following types of timeout situations can occur when connecting to Google BigQuery:
*Session timeouts. Most remote data sources impose a limit on the duration of active sessions, meaning a session can fail with a session timeout error if the session extends past the limit. This is particularly true when connection pooling is used. The driver automatically attempts to re-establish a new session if the driver receives a session timeout error from a data source. The driver uses the initial servername, port (if appropriate), remote user ID, and remote password (encrypted) to re-establish the session. If the attempt fails, the driver returns an error indicating that the session timed out and the attempt to re-establish the session failed.
*Web service request timeouts. You can configure the driver to never time out while waiting for a response to a Web service request or to wait for a specified interval before timing out by setting the connection option WSTimeout. For fetch requests only, if the request times out, you can configure driver to retry the request a specified number of times by setting the WSRetry Count. connection option. If all subsequent attempts to retry a request fails, the driver returns an error indicating that the service request timed out and the subsequent requests failed. See "Connection Option Descriptions" for details on the WS Timeout and WS Retry Count connection options.