Error: Unable to Validate Permissions to Run Log Reader
Issue
While setting up the High-Volume Agent (HVA) for Oracle, setup tests fail with the following error:
Unable to validate permissions to run log reader
Environment
Connector: High-Volume Agent Oracle
Resolution
To resolve this issue, grant read-only access to the specific Oracle system views and tables required for Change Data Capture (CDC). For the full list of required grants, see the High-Volume Agent Oracle Setup Guide.
Although the list may appear extensive, these permissions are narrowly scoped. They allow us to read Oracle metadata, database configuration, and log-based replication information. They do not allow us to read application table data unless you explicitly grant SELECT on those tables.
Minimizing access
You can follow least-privilege principles by:
- Granting access only to the specific views listed in the setup error.
- Avoiding broad roles such as
DBAorSELECT ANY TABLE. - Granting
SELECTon application tables only for the data you intend to replicate.
Cause
This issue occurs when the database user lacks read-only permissions on required Oracle system views and tables. The required objects fall into the following categories:
- Table metadata and structure: Objects such as
COL$,ALL_TABLES, andALL_TAB_COLSprovide schema information, including column names, data types, and table structure. We use this metadata to map source tables to the destination. - Constraints and indexes: Objects such as
ALL_CONSTRAINTSandALL_INDEXESidentify primary keys, constraints, and indexes. We use this information to apply updates and deletes to the correct rows. - Redo and archive logs: Objects such as
V_$LOG,V_$LOGFILE, andV_$ARCHIVED_LOGallow the log reader to locate and process redo and archive logs for CDC. - Encryption and partitioning: Objects such as
ECOL$,ENC$,V_$ENCRYPTION_WALLET,TABPART$, andTABSUBPART$support Oracle features such as Transparent Data Encryption (TDE) and partitioned tables. - Database configuration: Objects such as
V_$DATABASE,V_$PARAMETER, andDBA_TABLESPACESprovide database settings, storage details, and other environment context needed to interpret extracted data correctly. - Transaction monitoring: Objects such as
V_$TRANSACTIONandV_$SESSIONhelp us to track active and long-running transactions to maintain replication consistency.