Prepare to run the Oracle collector
Set up database user permissions and configure advanced features before running the collector.
Before you begin
Role required: admin
About this task
The collector requires a dedicated Oracle database user with SELECT and EXECUTE permissions. You must create the database user and grant appropriate permissions to catalog schemas, tables, views, procedures, functions, and packages.
Procedure
Set up user permissions
Create a dedicated Oracle user and grant permissions for metadata harvesting.
Before you begin
Role required: admin
About this task
To harvest data from an Oracle database, create a dedicated user with the required permissions. Grant this user SELECT and EXECUTE privileges on the necessary schemas, tables, views, procedures, functions, and packages. Alternatively, you can grant broader access using DBA views or catalog roles to ensure full data harvesting capabilities.
These steps configure a user with the permissions required for efficient data harvesting.
Procedure
Set up AWR permissions for lineage extraction
Grant AWR view permissions to enable historical lineage extraction from CREATE TABLE statements.
Before you begin
Role required: admin
License required: Oracle Diagnostics Pack license.
About this task
The Oracle collector queries AWR (Automatic Workload Repository) views to extract lineage from historical CREATE TABLE statements. Grant SELECT permissions on DBA_HIST_* views to enable this capability.
Procedure
GRANT SELECT ON DBA_HIST_SQLTEXT TO ddw_user;
GRANT SELECT ON DBA_HIST_SQLSTAT TO ddw_user;
GRANT SELECT ON DBA_HIST_SNAPSHOT TO ddw_user;
Prepare to harvest cross-server lineage
Configure database links and gather connection information for cross-server lineage harvesting.
Before you begin
Role required: admin
About this task
If your Oracle database includes objects with SQL definitions that reference another server, follow these steps to capture cross-server lineage. In Oracle, these references are called database links (DB links). To resolve lineage for SQL that uses DB links, the collector requires the host and port information for each linked database.