DB2 Connector¶
IBM Db2 is a relational database used for transactional and analytical workloads, often holding the core business records of large organizations.
The Qualytics DB2 connector reads through the IBM DB2 JDBC driver. Give it a host, port, database and schema, and Qualytics will profile tables, run scheduled scans, and surface record- and schema-level anomalies on the data already in your database. A DB2 datastore can also be an enrichment datastore, the place where Qualytics writes its findings.
Notes¶
Names in upper case. DB2 stores unquoted names in upper case, so Qualytics converts the database and schema you enter to upper case too: mydb is saved as MYDB. A value written as a secrets manager reference (${key}) is kept exactly as entered.
Default port. DB2 instances listen on port 50000 by default, and the form starts with that value. Change it if your instance uses another port, and make sure a firewall does not block it.
Schema discovery. Qualytics lists schemas and tables from the DB2 system catalog views SYSCAT.SCHEMATA and SYSCAT.TABLES, so the connecting user needs SELECT on both. See Permissions.
Deep Dive¶
-
Authentication
Sign in with a user and password, and encrypt the connection with SSL or your own certificate chain.
-
Permissions
Minimum DB2 grants for a source datastore, the extra grants an enrichment datastore needs, and ready-to-paste
GRANTstatements.
How-tos¶
-
Add Source Datastore
Step-by-step UI walkthrough for adding DB2 as a source datastore, with new or existing connections.
-
Add Enrichment Datastore
The fields you fill in to create a DB2 enrichment datastore, where Qualytics writes its findings.
-
Create via API
REST and CLI payload examples for creating DB2 source and enrichment datastores.
Reference¶
-
Troubleshooting
Common DB2 error codes and how to resolve them: credentials, grants, connectivity, or certificates.