Class OracleDatabaseStatsExtractor

java.lang.Object
org.odpi.openmetadata.adapters.connectors.oracle.survey.OracleDatabaseStatsExtractor

public class OracleDatabaseStatsExtractor extends Object
OracleDatabaseStatsExtractor gathers the same measurements as the PostgreSQL equivalent (org.odpi.openmetadata.adapters.connectors.postgres.survey.PostgresDatabaseStatsExtractor) but sources them from Oracle Database's data dictionary views (v$pdbs, cdb_data_files, all_tables, all_views, all_mviews, all_tab_columns, all_tab_col_statistics, all_tab_histograms, all_tab_modifications, dba_segments) instead of pg_catalog. All of these sources are metadata/statistics only - no user data is read. The database-level connection is to the CDB root (for the cross-PDB size lookup); the schema-level connection is to a specific pluggable database (PDB), which is the point at which the ALL_* data dictionary views become scoped to that one container.
  • Constructor Details

    • OracleDatabaseStatsExtractor

      public OracleDatabaseStatsExtractor(List<String> validDatabases, SurveyActionServiceConnector surveyActionServiceConnector)
      Constructor sets up the list of pluggable databases to process and the connection to the database.
      Parameters:
      validDatabases - list of pluggable database (PDB) names
      surveyActionServiceConnector - calling connector