Find the last hour in the sales table
In Redshift, locate the load for the sales table in SYS_LOAD_HISTORY. Read its status and end time, then query the latest sales event time in the loaded rows using the ledger’s timezone.
A successful load at midnight can contain sales only through 23:00. Reconcile the remaining hour against the ledger before attributing the difference to revenue.
What to inspect in the source
- Record identity
- Cluster or workgroup, schema and query ID
- Reader access
- Check the reporting role on every relation behind the view.
- Interpretation limit
- An old materialized view can lag behind its source table.
Workflow check
Use the load watermark and reconcile a late-arriving transaction on both sides.
Access and availability
Confirm the available connection method, edition and read permissions for Amazon Redshift with the pilot team.
