OpenMetadata and Oracle integration

Connect OpenMetadata to Oracle 12c through 21c with a least-privilege ingestion user, then add profiling, lineage and stored procedure coverage only where the grants and scope allow. DeployOpen plans and builds the connection in your infrastructure.

On this page

How OpenMetadata catalogs Oracle with the Oracle connector

A data team that needs Oracle tables, views and stored procedures in its catalog, with named owners and traceable lineage, should start with OpenMetadata's built-in Oracle database connector. It is the supported method for this job. The connector uses the python-oracledb library, which supports Oracle 12c, 18c, 19c and 21c. Before planning the rollout, confirm that your exact database version falls within that list, because the supported range is the boundary your team will be held to if something fails during ingestion.

The connector covers more than a plain table list. According to the OpenMetadata Oracle connector documentation, it extracts metadata, query usage, profiler results, data quality test execution, dbt artifacts, table-level and column-level lineage, stored procedures, sample data and auto-classification. Each of these is a separate workflow that can be scheduled, scoped and switched on or off in the ingestion configuration. Decide early which of them your catalog actually needs for the first release, since profiling and sample data are the parts that read table contents and add load and access questions to the security review.

Treat the connector's scope as the starting point for a design review rather than a finished inventory. Ask the database team which schemas hold regulated data, whether query history is retained long enough for usage and lineage to be meaningful, and whether stored procedure source is visible to the ingestion account. Then check the exact lineage and procedure behavior in the connector documentation for the OpenMetadata release you plan to run, since the documented coverage is the part you can verify before a single grant is issued.

What you need before the Oracle connection is configured

The Oracle connector depends on three things lining up: the database versions and user grants your DBA approves, a network path the ingestion runtime can use, and an OpenMetadata deployment that meets its own prerequisites. Confirm each one before you create the service connection, because most failed first runs trace back to one of these four cards.

Oracle versions in scope

The connector uses the python-oracledb library, which supports Oracle 12c, 18c, 19c and 21c. Confirm with the DBA which versions your estate actually runs, including any older instances that will be catalogued. If a source sits outside this list, treat it as a separate test item rather than assuming the connector will work. Record the exact version of each instance, since it determines which connection options and listener settings you will use.

Supported Oracle range
12c to 21c
Oracle connector docs

Dedicated ingestion user

Create a separate, named database account for OpenMetadata rather than reusing an application or DBA login. The account needs CREATE SESSION to connect. Metadata extraction works from the data dictionary, so start there. Ask the DBA to document who owns the account, its password rotation process, and how it will be disabled if the catalog project ends. This account is the one your security team will review first.

SELECT grants for profiling

Profiling and data quality tests read table rows, so they need SELECT on the tables in scope. Metadata-only runs do not. Decide with the DBA which schemas get SELECT and which stay metadata-only, and whether profiling should run on sampled data. Ask for a written list of schemas, since grants applied broadly to the whole instance make the access review harder to defend later.

Network path to the listener

The ingestion runtime must reach the Oracle listener on the host and port that your DBA publishes, and the route must pass any firewall or segmentation rules between the runtime and the database. Confirm whether the runtime sits in the same network zone, whether a service name or SID is used, and whether TLS is required. Test the path from the exact host that will run ingestion, not from a workstation, because the results differ.

Running OpenMetadata deployment

The connector only runs once OpenMetadata is up with its own supported prerequisites. For bare metal, that means Java 21, MySQL 8.0.42 or later or PostgreSQL 15 or later, and Elasticsearch 9.x or OpenSearch 3.x. Minimum server sizing is 2 vCPUs, 4 GB RAM and 20 GB storage, with the database and search services each needing at least 2 vCPUs, 2 GB RAM and 30 GB storage. Confirm these with the platform team, along with where the ingestion runtime will execute.

Bare metal prerequisites

Configuring the Oracle connector in OpenMetadata

This sequence takes an Oracle database from an unregistered source to a catalog with metadata, usage, profiling, quality results and lineage, adding each capability in its own run so that any failure is easy to trace. Each step ends with a check you can see in the OpenMetadata interface before you move on.

  1. Create the ingestion user and grants

    Your Oracle DBA creates a dedicated ingestion user and grants it CREATE SESSION, which is enough to connect for metadata extraction. Keep this user separate from application accounts so its access can be reviewed and revoked on its own. Profiling and data quality need SELECT on the tables in scope, so for the first run grant nothing beyond the connection right. Confirm the exact privilege set against the connector documentation for your Oracle version before you grant it. The step is done when the user can log in from the OpenMetadata ingestion host with a standard client.

  2. Register the database service

    In OpenMetadata, an administrator creates a database service of type Oracle and enters the host, port, service name and the ingestion user credentials. Store the password through the secrets option your deployment supports rather than pasting it into a config file you will share. Run the built-in test connection before saving the service. The step is done when the test connection reports success for each check it runs, and the service appears in the catalog with no tables yet.

  3. Run a metadata-only ingestion

    Configure the first ingestion workflow to extract schemas, tables, views and columns only, with profiler, usage, lineage and quality switched off. Use a narrow schema filter for the first run so that errors are quick to read and the scope is easy to verify. Run it from the UI or from the ingestion framework on your ingestion host, and keep the run log. The step is done when the expected schemas and tables appear under the service, and a sample of table row counts in the catalog matches what your DBA reports for the same schemas.

  4. Enable query usage and stored procedures

    Add the usage and stored procedure options to the workflow and rerun it on the same scope. Query usage depends on what Oracle exposes in its query history views, so confirm with your DBA which views the connector reads and whether the ingestion user can query them. Stored procedures are ingested as metadata first and their lineage is checked separately. The step is done when the usage tab on a few frequently used tables shows query activity, and at least one stored procedure appears with its definition.

  5. Enable profiling and data quality

    Grant SELECT on the tables that you want to profile, and only those tables, to the ingestion user. Enable the profiler with a sample size and table filters agreed with the database owners, because profiling reads table data and adds load. Then add data quality tests to a small set of tables and run them in the same workflow or a separate test run. The step is done when a profiled table shows column statistics that match a spot check you run in SQL, and a quality test returns a pass or fail result in the catalog.

  6. Enable lineage in a separate run

    Turn on lineage extraction last, in its own run, so that any gaps are not confused with metadata or profiling problems. Lineage from views and stored procedures depends on the definitions and query history available to the ingestion user, so review the lineage graph for a view you know well before accepting the results. Record which relationships the connector does not show, since you will need to add them manually or document them. The step is done when the lineage graph for a known view or report matches its source tables, and you have a written list of known gaps.

Which grants metadata, profiling and data quality actually need

CREATE SESSION is the baseline grant for the OpenMetadata Oracle connector: it lets the ingestion user connect to the database. On its own it does not let the connector read business data. Per the connector documentation, SELECT on tables is what profiling and data quality tests need, so the metadata run and the profiling run should use different scopes. Plan two ingestion services or two schedules: one that reads metadata with CREATE SESSION and the catalog views it needs, and one that adds SELECT only on the tables you want profiled or tested. Keeping them apart lets your security team approve the metadata scope quickly and review the data-reading scope on its own terms.

Scope SELECT to named schemas and named tables, not to a whole database account. Grant it per schema or per table, and write down which schemas, tables and views are excluded, such as HR, payroll, card data or staging schemas holding raw personal data. Use the schema and table filter patterns in the ingestion configuration to match those exclusions, so that the connector does not attempt to read objects it was not granted. Record the grant script and the filter file together in version control so an auditor can compare what was approved with what the ingestion user can actually read.

The system views and dictionary objects that the connector reads for query usage and lineage differ by Oracle version and by connector release, so confirm the exact objects and the privileges they need against the OpenMetadata Oracle connector documentation for the version you deploy, and test the grant set in a non-production database before approving it. Do not assume that a grant which works for metadata also covers usage or lineage. Ask your database team to verify each grant with the account the connector will use, because a missing privilege often shows up as an empty lineage graph rather than a clear error.

How Oracle objects map to OpenMetadata entities

This table shows how each Oracle object becomes an OpenMetadata entity, where the connector reads it from, and whether the ingestion user needs SELECT or only CREATE SESSION. Use it to scope grants before the first run. Items marked to confirm should be checked against the connector docs for the Oracle version and OpenMetadata release in use.

Oracle objectOpenMetadata entityWhere the connector reads itGrant needed
Oracle instanceDatabase serviceConnection settings for the host, port and service name configured in the connectorCREATE SESSION
Schema (owner)Database schemaSchemas visible to the ingestion user in the data dictionary (confirm which schemas are filtered by default)CREATE SESSION
TableTable entityTable definitions in the data dictionary, including comments used as descriptionsCREATE SESSION for metadata, SELECT for profiling
ViewTable entity (view type)View definitions and their underlying dependencies (confirm how view lineage is derived in your version)CREATE SESSION for metadata
ColumnColumn on a table entityColumn definitions, data types and nullability in the data dictionaryCREATE SESSION for metadata, SELECT for profiling
Stored procedureStored procedure entityProcedure source in the data dictionary, used to derive procedure lineage (confirm supported procedure types)CREATE SESSION (confirm any additional dictionary access)
Query historyQuery usage recordsQuery history views available to the user, used for usage and query lineage (confirm the exact views and privileges)Access to history views (confirm with connector docs)
Sample dataSample rows on a table entityRows read directly from the table when sampling is enabledSELECT on each sampled table

How the ingestion runtime reaches Oracle and writes to the catalog

The flow starts at the ingestion runtime, which holds the Oracle connection details and the ingestion user's credentials. Metadata, profiling and lineage runs leave it as separate paths: the metadata run reads the data dictionary, the profiling run reads sampled rows through SELECT grants, and the lineage run reads query and procedure text. Each path enters the OpenMetadata server, which writes to its database and search services. Check that the Oracle listener is reachable only from the runtime, and that the credential store sits inside the trust boundary.

Three ingestion runs reach Oracle through one listener and write into the catalog.

Where stored procedure and query lineage stops

The Oracle connector documents table and query lineage, along with query usage. The catalog draws on query history to infer relationships between objects from SQL that actually ran. Lineage built this way is only as complete as the history the database exposes to the ingestion user. If sessions were not captured or history aged out before the first run, the graph shows gaps that look like missing dependencies. Review the Oracle connector documentation for the history source used in your version.

  • History availability: Confirm with your DBA which history source the connector reads and whether the ingestion user can read it.
  • Retention window: Statements that ran before the retained window never reach the graph, so a first run covers only recent activity.
  • Periodic workloads: Monthly reports and jobs that run outside the window may be absent unless the window covers them.
  • Application SQL: Statements generated by applications appear as they ran, so bind variable differences can make one logical query look like several.
  • Cross-database references: Links to objects in other databases depend on the names the queries used.

Check that a known monthly job appears in the lineage graph before relying on it for a change decision.

Securing the Oracle ingestion user and connection

The Oracle connector runs with a database account, a connection and a set of editors who can change both. Each control below limits what that account can read, how the password travels and who can alter the service, so the security team can confirm each one in its own environment before the first run.

Dedicated read-only ingestion account

Create a separate Oracle user for OpenMetadata rather than reusing an application or administrator account. The connector needs CREATE SESSION to connect, and SELECT on tables only when profiling or data quality tests run. Keep the account out of any role that grants write or DDL privileges, and confirm with your DBA that no inherited role adds more than the documented grants.

Oracle connector docs

Least-privilege grants per run type

Split the grants by what each run does. A metadata-only run needs the session privilege and access to the data dictionary views the connector reads. Profiler and data quality runs add SELECT on the specific tables in scope. Lineage, stored procedure and query usage extraction read additional catalog views, so review each run type separately and grant only what that run uses.

Oracle connector docs

Encrypted connections to Oracle

Confirm that the connection between the OpenMetadata ingestion runner and the Oracle listener is encrypted and that the certificate chain is trusted by the runner's operating system or container image. Check the connection string and listener settings with your Oracle team, because a connection that falls back to unencrypted traffic will not show an error in the catalog. Record the setting in your architecture review.

Password storage in OpenMetadata

Enter the ingestion password through the secret reference mechanism your deployment supports, not as plain text in the service definition. Confirm where the secret is stored, who can read it through the API, and how it is rotated. Rotating the Oracle password means updating the secret in one place and rerunning a test connection, so document the owner and the steps before the first scheduled run.

Limiting who can edit the service

Connection details and ingestion schedules are configuration that can change what data is read and where it is sent. Restrict edit rights on the Oracle database service to a small group of platform and data owners, and review that group when people change roles. Check the OpenMetadata role and policy settings in your environment, since the exact permissions depend on your version and authentication setup.

Restricting which schemas are ingested

Use the connector's schema include and exclude filters to limit ingestion to the schemas your catalog should describe. Exclude application schemas holding personal data that no owner has classified, and exclude vendor schemas you do not need. Confirm the filter with a test run and check that profiling and sample data settings also respect the same boundary, because a metadata filter alone does not stop profiling from reading tables.

Common Oracle connector failures and how to fix them

This table lists the failures teams most often hit when connecting OpenMetadata to Oracle, with the likely cause and the first fix to try for each. Work down the rows in order, since connection and version problems block everything that follows. The main takeaway is that most failures trace back to the network path, the driver's supported Oracle versions, or the grants given to the ingestion user.

FailureLikely causeFirst fix to try
Connection refused or listener errorsThe Oracle listener is down, the host or port is wrong, or the service name does not match the listener configurationConfirm the host, port and service name with the Oracle DBA, then test reachability from the machine running ingestion before changing OpenMetadata settings
Unsupported Oracle version for the driverThe database is outside the versions the python-oracledb driver supports for this connector (12c, 18c, 19c and 21c)Check the database version against the connector documentation, and confirm with the vendor whether a newer or older version is in scope before retrying
ORA permission errors on metadataThe ingestion user lacks CREATE SESSION or read access to the data dictionary views the connector queriesGrant CREATE SESSION to the ingestion user, then rerun a metadata-only ingestion to confirm the schemas appear
ORA permission errors on profiling or data qualityThe ingestion user has CREATE SESSION but no SELECT on the tables being profiledGrant SELECT only on the tables in scope for profiling, and keep profiling scope narrow until metadata ingestion runs cleanly
Profiler timeouts on large tablesFull-table profiling scans very large tables, and the query runs longer than the ingestion job allowsRestrict profiling to selected schemas or tables, then enable sampling settings and test on one large table before widening scope
Missing lineage from query historyQuery usage data is not readable by the ingestion user, or the query history source has been purged or was never capturedConfirm the ingestion user can read the query history source the connector uses, then check how much history exists before expecting lineage
Stored procedures not appearingThe ingestion user cannot see the procedure definitions, or the procedures are in schemas excluded by the filter patternsCheck the schema filter patterns first, then confirm with the DBA that the ingestion user can read the procedure source in the dictionary views

Questions teams ask before connecting Oracle to OpenMetadata

How much effort does connecting Oracle to OpenMetadata take?

The effort depends mostly on how many schemas you bring in, how far profiling and data quality reach, how deep lineage needs to go, and how long your network and security review takes. A metadata-only connection to a few schemas is a small piece of work. Adding profiling across large schemas, stored procedure lineage and column-level lineage adds configuration, testing and review steps. Ask any partner to size the work by schema count, table count, profiling scope and lineage depth, and to list which of those are in the quote. Confirm the exact connector behavior against the OpenMetadata Oracle connector documentation before scoping.

Can our internal team connect Oracle to OpenMetadata without outside help?

Yes, a team with Oracle and OpenMetadata experience can do it internally, and many do. The work is a set of defined steps: deploying OpenMetadata, creating an ingestion user with the right grants, configuring the Oracle service, running ingestion, and reviewing results. The usual gaps are in the less visible parts: aligning grants with a DBA and security team, handling network paths and credentials, and keeping the setup working through upgrades. If your team lacks one of those skills, a fixed-scope engagement can cover that part while your staff keep ownership of the running system.

What does the connection need from our DBA and security team?

The DBA team creates the ingestion user and sets its privileges. At minimum the user needs CREATE SESSION to connect, and SELECT on tables if you enable profiling and data quality. Security teams usually review the network path from the ingestion runtime to the database, where credentials are stored, which schemas the user can read, and whether sample data leaves your environment. Agree on these in writing before testing starts, because each review adds time. Ask the DBA to confirm the grant list against your own Oracle version, since the supported range runs from 12c to 21c.

How long does testing take in each environment?

Test duration depends on the environment. A development database with a small schema set usually moves faster than a production-like copy with many schemas, large tables and strict change control. Access requests, network approvals and grant changes often take longer than the technical setup itself. Plan separate test passes for metadata ingestion, profiling, lineage and any stored procedure extraction, because each one exercises different grants and produces different results. Ask for a test plan with entry and exit checks for each environment, and confirm the timing with your own change calendar rather than a generic estimate.

Should profiling run against production Oracle tables?

Profiling reads table data, so it needs careful scoping. Limit profiling to the schemas and tables that owners have approved, and decide whether sample data should be stored in OpenMetadata at all. Profiling against large production tables can add load on the database, so schedule runs outside peak periods and agree the window with your DBA. Metadata-only ingestion avoids reading table contents and is usually the first step. Confirm the profiling and sampling settings in the Oracle connector documentation before enabling them broadly.

What recurs after go-live, such as upgrades and scheduled reruns?

Several things recur. Ingestion runs on a schedule, so someone must monitor failures, credential expiry and changes in schema names. OpenMetadata itself is upgraded on a regular cadence, and 2.0 introduced breaking changes for some connectors and ingestion images, so each upgrade needs a compatibility check. Oracle database upgrades can change grants or catalog views. Budget for ongoing ownership of these tasks, whether in-house or through a retainer that covers upgrades and testing. Ask any provider how they handle upgrade testing and who signs off on schema scope changes.

What drives the cost of an Oracle connection project?

The main cost drivers are the number of schemas and tables in scope, the depth of profiling, data quality and lineage, the number of environments you test in, and the number of reviews your organization requires. Costs split between internal staff time, DBA and security reviewers, and any external implementation work. Some costs are one-time, such as the initial build and testing, while others recur, such as upgrades and reruns. When requesting a quote, ask for the written scope, the deliverables, what is excluded, and the assumptions about access and review turnaround. DeployOpen does not publish a price list, and a quote follows from the agreed scope.

How DeployOpen scopes and delivers an Oracle connection

DeployOpen plans, builds, documents and supports self-hosted OpenMetadata inside your own infrastructure, including the Oracle connector. We start from a written scope that separates metadata extraction from profiling, data quality and lineage, so your database team can review each grant before anything runs. Engagements are fixed-scope, with ongoing support available as a retainer.

How we scope

  • Inventory the Oracle versions in use, from 12c through 21c, and confirm which fall within the connector's documented support.
  • Decide which schemas go into metadata-only ingestion and which need profiling or data quality tests.
  • Agree in writing which features are in scope, such as stored procedure and query lineage, and which are excluded.

How we build

  • Create the ingestion user with CREATE SESSION and the SELECT grants that match the agreed scope, documented for your DBA.
  • Deploy OpenMetadata and configure the Oracle service, ingestion schedules and filters in your environment.
  • Test metadata, profiler and lineage runs against non-production data, then record what each run extracted and what it could not reach.

How we hand over

  • Deliver written documentation covering grants, connection settings, schedules, known gaps and the reasons for each.
  • Walk your database, security and data teams through the configuration and the evidence from test runs.
  • Provide a runbook for rotating credentials, updating the connector and reviewing new schemas as they appear.

How we support

  • Offer ongoing support, upgrades and continuous testing for OpenMetadata and the Oracle connector as a retainer.
  • Review connector behavior after OpenMetadata upgrades, including breaking changes listed in release notes.
  • Confirm with your team any changes to Oracle versions or grants before they reach production ingestion.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.