Skip to content

Commit 206e15a

Browse files
Update schema.md
1 parent 41747d6 commit 206e15a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/connections/storage/warehouses/schema.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,9 @@ All four timestamps pass through to your Warehouse for every ETL'd event. In mos
453453
`received_at` is UTC timestamp set by the Segment API when the API receives the payload from client or server. All tables use `received_at` for the sort key.
454454

455455
> info ""
456-
> We recommend using the `received_at` timestamp for all queries based on time. The reason for this is two-fold. First, the `sent_at` timestamp relies on a client's device clock being accurate, which is generally unreliable. Secondly, we set `received_at` as the sort key in Redshift schemas, which means queries will execute much faster when using `received_at`. You can continue to use `timestamp` or `sent_at` timestamps in queries if `received_at` doesn't work for your analysis, but the queries will take longer to complete. For Business Tier customers, we recommend enabling `received_at` in the Selective Sync settings to ensure the syncs and backfills complete successfully.
456+
> We recommend using the `received_at` timestamp for all queries based on time. The reason for this is two-fold. First, the `sent_at` timestamp relies on a client's device clock being accurate, which is generally unreliable. Secondly, we set `received_at` as the sort key in Redshift schemas, which means queries will execute much faster when using `received_at`. You can continue to use `timestamp` or `sent_at` timestamps in queries if `received_at` doesn't work for your analysis, but the queries will take longer to complete.
457+
458+
> For Business Tier customers, we suggest enabling `received_at` in the Selective Sync settings to ensure the syncs and backfills complete successfully.
457459
458460
`received_at` does not ensure chronology of events. For queries based on event chronology, `timestamp` should be used.
459461

0 commit comments

Comments
 (0)