mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-12 11:07:20 +00:00

* Added Filter Params for table and Schema * Bigquery Doc changes * Doc Changes for databases * Filter Pattern Changes * Table Filter Pattern Example Changes * Filter Pattern Example Changes
2.4 KiB
2.4 KiB
description |
---|
This guide will help install Oracle connector and run manually |
Oracle
{% hint style="info" %} Prerequisites
OpenMetadata is built using Java, DropWizard, Jetty, and MySQL.
- Python 3.7 or above
- Oracle Client Libraries (ref: Click here to download Oracle Client Libraries) {% endhint %}
Install from PyPI
{% tabs %} {% tab title="Install Using PyPI" %}
pip install 'openmetadata-ingestion[oracle]'
{% endtab %} {% endtabs %}
Configuration
{% code title="oracle.json" %}
{
"source": {
"type": "oracle",
"config": {
"host_port":"host:1521",
"username": "pdbadmin",
"password": "password",
"service_name": "local_oracle",
"service_type": "Oracle",
"oracle_service_name": "ORCLPDB1"
}
},
...
{% endcode %}
- username - pass the Oracle username. We recommend creating a user with read-only permissions to all the databases in your Oracle installation
- password - password for the username
- host_port - Host Port where Oracle Instance is initiated
- service_name - Service Name for this Oracle cluster. If you added Oracle cluster through OpenMetadata UI, make sure the service name matches the same.
- oracle_service_name - Oracle Service Name (TNS alias)
- table_filter_pattern - It contains includes, excludes options to choose which pattern of tables you want to ingest into OpenMetadata.
- schema_filter_pattern - It contains includes, excludes options to choose which pattern of schemas you want to ingest into OpenMetadata.
Publish to OpenMetadata
Below is the configuration to publish Oracle data into the OpenMetadata service.
Add metadata-rest
sink along with metadata-server
config
{% code title="oracle.json" %}
{
"source": {
"type": "oracle",
"config": {
"host_port": "host:1521",
"username": "pdbadmin",
"password": "password",
"service_name": "local_oracle",
"service_type": "Oracle",
"oracle_service_name": "ORCLPDB1"
}
},
"sink": {
"type": "metadata-rest",
"config": {}
},
"metadata_server": {
"type": "metadata-server",
"config": {
"api_endpoint": "http://localhost:8585/api",
"auth_provider_type": "no-auth"
}
}
}
{% endcode %}