Skip to content

Commit

Permalink
docs(oracle-flashback): add note regarding UNDO_RETENTION
Browse files Browse the repository at this point in the history
  • Loading branch information
mdibaiee committed Jan 9, 2025
1 parent 5354e6e commit d9d0458
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ GRANT LOGMINING TO estuary_flow_user;
GRANT INSERT, UPDATE ON estuary_flow_user.FLOW_WATERMARKS TO estuary_flow_user;
```

5. Enable supplemental logging:
6. Enable supplemental logging:

For normal instances use:
```sql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,15 @@ GRANT SELECT ON V$DATABASE TO estuary_flow_user;
GRANT SELECT_CATALOG_ROLE TO estuary_flow_user;
```

5. Your database user should now be ready for use with Estuary Flow.
1. Your database user should now be ready for use with Estuary Flow.

### Recommended Database Configuration

In order to use Flashback and ensure consistency of data, we recommend setting the `UNDO_RETENTION` configuration to at least 7 days, or at minimum a couple of days. See [UNDO_RETENTION](https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/UNDO_RETENTION.html) in Oracle docs. Example query to set retention to 2 days:

```sql
ALTER SYSTEM SET UNDO_RETENTION = 172800;
```

### Include Schemas for Discovery
In your Oracle configuration, you can specify the schemas that Flow should look at when discovering tables. The schema names are case-sensitive and will default to the upper-cased user if empty. If the user does not have access to the configured schemas, no tables will be discovered.
Expand Down

0 comments on commit d9d0458

Please sign in to comment.