Oracle metadata collector
Summarize
Summary of Oracle metadata collector
The Oracle metadata collector provides read-only access to metadata from external Oracle databases, including self-hosted and managed instances like AWS RDS. It harvests detailed metadata about Oracle objects such as tables, columns, views, functions, stored procedures, synonyms, and packages, making this information searchable and discoverable within the ServiceNow data catalog.
Show less
Metadata Cataloged
The collector captures comprehensive metadata including:
- Tables and Columns: Names, types, nullability, keys, sizes, comments, and indexes.
- Views: Names, definitions, and descriptions.
- Schemas and Databases: Identifiers, types, server info, and connection details.
- Functions and Stored Procedures: Names, descriptions, types, definitions, and related package information.
- Synonyms and Packages: Identifiers, names, and body definitions.
When profiling and sampling parameters are enabled and appropriate read permissions are granted, the collector also gathers column statistics such as average length, distinct values, min/max values, data distribution, sample string values, and table row counts.
Relationships Between Objects
The metadata includes relationship mappings between objects, such as:
- Columns related to tables and indexes.
- Schemas containing tables and packages.
- Synonyms linked to their referenced objects.
- Packages associated with stored procedures and functions.
Lineage Information
The collector captures data lineage for Oracle objects, detailing how columns and data flow across views, functions, stored procedures, and tables, including filters, sorting, and aggregation logic. To harvest lineage involving objects on different servers, the Linked host parameter must be configured.
Limitations include no support for lineage from SQL defined by variable statements, and certain stored procedures such as those with multitable inserts or transient table creation are unsupported.
Supported Versions and Authentication
- Supports Oracle database version 19.0.0.0.
- Authentication is via username and password.
Preparation and Usage
Before running the collector, ensure proper database user permissions are configured and advanced features set as needed. Then create and run the Oracle metadata collector to import metadata into the ServiceNow data catalog effectively.
The Oracle metadata collector provides read-only access to metadata from an external Oracle account.
The collector harvests metadata for Oracle objects, such as tables and columns, from an Oracle database, making them searchable and discoverable in the data catalog. It is suitable for both self-hosted Oracle instances and managed Oracle instances, like those hosted on AWS RDS.
Metadata cataloged
The Oracle collector catalogs the following information.
| Object | Information cataloged |
|---|---|
| Columns | Name, JDBC type, Column Type, Is Nullable, Default Value, Key type (Primary, Foreign), Column size, Column index Extended metadata: Comment |
| Table | Name, Primary key, Schema Extended metadata: Comment |
| Table Index | Index Cardinality, Column name, Index Type, Index Name, is non Unique, Ordinal Position, Pages, Sort Sequence |
| Views | Name, Definitions, SQL Definition Extended metadata: Description |
| Schema | Identifier, Name |
| Database | Type, Name, Identifier, Server, Port, Environment, JDBC URL |
| Function | Name, Description, Function Type Extended metadata: Function definition, Package Name |
| Stored Procedure | Name, Description, Stored Procedure Type Extended metadata: Procedure Definition, Package Name |
| Synonym | Identifier Extended metadata: Name |
| Package | Name, Specification Extended metadata: Body definition, Package Body |
| Public Synonym (accessible to all users in database) | Identifier, Name |
If you include the profiling and sampling specific parameters while running the collector, the following additional information is harvested for Columns.
| Object | Information cataloged |
|---|---|
| Column |
|
| Table |
|
Relationships between objects
The harvested metadata includes catalog pages for the following data asset types. Each catalog page has a relationship to the other related data asset types.
| Data asset page | Relationship |
|---|---|
| Table | Columns, Table Indexes |
| Columns | Table |
| Schema | Database that contains Schema, Table that is part of Schema |
| Database | Schema contained in Database |
| Synonym | The schema which contains the synonym, The table, view, function, procedure, or package the synonym is for |
| Package | Schema that contains package Extended metadata: Stored Procedures contained in package, Functions contained in package |
| Database | Public synonym contained in database |
Lineage for Oracle
The following lineage information is collected by the Oracle collector. To harvest lineage from referenced objects located in another server, you must set up the Linked host parameter while running the collector.
Any lineage for SQL Statements defined via variable statements are not supported.
| Object | Lineage available |
|---|---|
| Column in View | The collector identifies:
|
| User-defined function | A Function and:
|
| Stored Procedure | A Stored Procedure and:
|
Oracle version supported
The collector supports Oracle database version 19.0.0.0.
Authentication supported
The Oracle collector supports username/password authentication to Oracle.