IBM Db2
You can connect to IBM Db2 databases. IBM Db2 for Linux, UNIX, and Windows are supported.
Connect to IBM Db2
- In the Dremio console, click Add Data on the Home page.
- In the Add Data dialog, select IBM Db2.
- Configure the connection using the sections below, then click Save.
General Options
- In the Name field, specify the name of the connection. The name cannot include the following special characters:
/,:,[, or]. - Under Connection, follow these steps:
- In the Host field, specify the hostname or IP address of the database to connect to.
- In the Port field, specify the port to use when connecting. The default is 50000.
- In the Database field, specify the name of the database.
- Under Authentication, follow these steps:
- For Username, enter your database username.
- For Password, enter your database password.
Advanced Options
On the Advanced Options page, you can set values for these optional settings:
| Option | Description |
|---|---|
| Record fetch size | Number of records to fetch at once. Set to 0 (zero) to have Dremio decide automatically. By default, this is set to 200. |
| Maximum idle connections | The total number of connections allowed to be idle at a given time. The default number of maximum idle connections is 8. |
| Connection idle time | The amount of time (in seconds) allowed for a connection to remain idle before the connection is terminated. The default connection idle time is 60 seconds. |
| Query timeout | The amount of time (in seconds) allowed to wait for the results of a query. If this time expires, the connection being used is returned to an idle state. |
| Enable external authorization plugin | When enabled, authorizes an external plugin. |
| Connection properties | Connection properties and values. |