IBM Netezza Data Source
Your administrator must create a Data Source for this data store for you to use. After your administrator has created the Data Source, you can work with it in your project as usual.Direct connection
Connect directly to IBM Netezza from Domino. You must have network connectivity between Netezza and your Domino deployment.Python and nzpy
Domino recommends the nzpy package for interacting with Netezza from Python.Environment setup
Use the following Dockerfile instruction to add nzpy to your environment. This instruction assumes you already have pip installed.Credential setup
You must set the following Domino environment variables to store secure information about your Netezza connection-
db_username -
db_password
Usage
See the nzpy docs for detailed information about how to use the package. The following is an example for connecting to Netezza with nzpy where:-
You have set up environment variables noted above with the
db_usernameanddb_password -
You’ve replaced
my.host.namewith the host name for your machine -
You’ve replaced
my.database.namewith the database name for your machine
R and RJDBC
Domino recommends the RJDBC package and nzjdbc jar for interacting with Netezza from R.Environment setup
Use the following Dockerfile instruction to add RJDBC to your environment.Credential setup
You must set the following Domino environment variables to store secure information about your Netezza connection-
db_username -
db_password
Usage
Test if thenzjdbc jar is working as expected by running the below in a workspace terminal
java -jar <path.to.the.nzjdbc.jar> -t -h my.host.name -p 5480 -u <username> -db <database_name>
The following is a simple example for connecting to Netezza with RJDBC and nzjdbc jar where:
-
nzjdbcjar is present in the project files (/mnt/nzjdbc3) -
You have set up environment variables noted above with the
db_usernameanddb_password -
You’ve replaced
my.host.namewith the host name for your machine -
You’ve replaced
my.database.namewith the database name for your machine
Next steps
- After connecting to your Data Source, learn how to Use Data Sources.
- Share this Data Source with your collaborators.