3.8 KiB
| title | slug |
|---|---|
| DB2 | /connectors/database/db2 |
DB2
{% multiTablesWrapper %}
| Feature | Status |
|---|---|
| Stage | PROD |
| Metadata | {% icon iconName="check" /%} |
| Query Usage | {% icon iconName="cross" /%} |
| Data Profiler | {% icon iconName="check" /%} |
| Data Quality | {% icon iconName="check" /%} |
| Stored Procedures | {% icon iconName="cross" /%} |
| DBT | {% icon iconName="check" /%} |
| Supported Versions | -- |
| Feature | Status |
|---|---|
| Lineage | Partially via Views |
| Table-level | {% icon iconName="check" /%} |
| Column-level | {% icon iconName="check" /%} |
{% /multiTablesWrapper %}
In this section, we provide guides and references to use the DB2 connector.
Configure and schedule DB2 metadata and profiler workflows from the OpenMetadata UI:
{% partial file="/v1.3/connectors/ingestion-modes-tiles.md" variables={yamlPath: "/connectors/database/db2/yaml"} /%}
Requirements
To create a new Db2 user please follow the guidelines mentioned here
Db2 user must have the below permissions to ingest the metadata:
SELECTprivilege onSYSCAT.SCHEMATAto fetch the metadata of schemas.
-- Grant SELECT on tables for schema metadata
GRANT SELECT ON SYSCAT.SCHEMATA TO USER_NAME;
SELECTprivilege onSYSCAT.TABLESto fetch the metadata of tables.
-- Grant SELECT on tables for table metadata
GRANT SELECT ON SYSCAT.TABLES TO USER_NAME;
SELECTprivilege onSYSCAT.VIEWSto fetch the metadata of views.
-- Grant SELECT on tables for view metadata
GRANT SELECT ON SYSCAT.VIEWS TO USER_NAME;
Profiler & Data Quality
Executing the profiler workflow or data quality tests, will require the user to have SELECT permission on the tables/schemas where the profiler/tests will be executed. More information on the profiler workflow setup can be found here and data quality tests here.
Metadata Ingestion
{% partial file="/v1.3/connectors/metadata-ingestion-ui.md" variables={ connector: "DB2", selectServicePath: "/images/v1.3/connectors/db2/select-service.png", addNewServicePath: "/images/v1.3/connectors/db2/add-new-service.png", serviceConnectionPath: "/images/v1.3/connectors/db2/service-connection.png", } /%}
{% stepsContainer %} {% extraContent parentTagName="stepsContainer" %}
Connection Details
- Username: Specify the User to connect to DB2. It should have enough privileges to read all the metadata.
- Password: Password to connect to DB2.
- database: Database of the data source.
- Host and Port: Enter the fully qualified hostname and port number for your DB2 deployment in the Host and Port field.
{% partial file="/v1.3/connectors/database/advanced-configuration.md" /%}
{% /extraContent %}
{% partial file="/v1.3/connectors/test-connection.md" /%}
{% partial file="/v1.3/connectors/database/configure-ingestion.md" /%}
{% partial file="/v1.3/connectors/ingestion-schedule-and-deploy.md" /%}
{% /stepsContainer %}
{% partial file="/v1.3/connectors/troubleshooting.md" /%}
{% partial file="/v1.3/connectors/database/related.md" /%}