In this article
...
Field Name | Field Type | Description | ||
---|---|---|---|---|
Label* Default Value: N/A | String | Specify a unique label for the account. | ||
Account properties* | The information required to create a connection to the database. | |||
JDBC JARs | Use this field set to define JDBC Drivers. This field set consists of the JDBC Driver field. | |||
JDBC Driver* Default Value: N/A | String/Expression | Specify the JDBC driver to use. Click the Upload icon to upload the JDBC driver that must be used for the account.
| ||
JDBC Driver Class* Default Value: [None] | String/Expression | Specify the JDBC Driver class name to use. | ||
JDBC URL Default Value: [None] | String/Expression | Specify the JDBC URL to use. | ||
Username
| String/Expression | Specify the database username to use. | ||
Password Default Value: N/A | String/Expression | Specify the database password to use. | ||
Database name Default Value: Auto detect | String/Expression | Choose a database to which the account must be connected. The available options are:
If you use PostgreSQL JDBC driver to connect to Redshift database, the Auto detect option automatically detects the PostgreSQL database instead of Redshift. The behavior of the JDBC Snaps is optimized for the selected database. | ||
Test Query Default Value: N/A | String/Expression | Activates on selecting Auto detect for Database name. Specify a custom query to validate the database connection.
| ||
Advanced properties* | ||||
Min pool size* Default Value: 0 | Integer/Expression | Specify the minimum number of idle connections a pool will maintain at a time.
| ||
Max pool size* Default Value: 15 | Integer/Expression | Specify the maximum number of idle connections a pool will maintain at a time. | ||
Max idle time* Default Value: 60 | Integer/Expression | Specify the number of minutes a connection must remain in the connection pool before being discarded. | ||
Checkout timeout* Default Value: 10000 | Integer/Expression | Specify the number of milliseconds to wait for a connection to be available in the pool. If you provide 0, the Snap waits infinitely until the connection is available. Therefore, we recommend you not to specify 0 for Checkout Timeout. | ||
Url properties | Use this field set to define URL properties to use in the JDBC URL. | |||
Url property name Default Value: N/A
| String | Specify the a name of for the URL property to be used by the account. For instance, if you want the account to use trust certificates, specify the URL property name as | ||
Url property value Default Value: N/A
| String | Specify a value for the URL property name. | ||
Auto commit Default Value: Selected | Checkbox | Select this checkbox to commit a batch immediately after the batch executes. So, only the current executing batch will be rolled back if the Snap fails. | ||
Fetch size* Default Value: 100 | Integer/Expression | Specify the number of records to retrieve from the DB at a time. | ||
Batch size* Default Value: 50 | Integer/Expression | Specify the number of query statements to execute at a time. SELECT queries are not batched.
If you are using AWS Athena database, the Batch size must be set to 1. |
...