Skip to content

Commit 1d4ef0d

Browse files
authored
Merge pull request #14819 from briancarrig/patch-2
Running distribution agent on a schedule
2 parents 1b49410 + e2a742a commit 1d4ef0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/relational-databases/tables/temporal-table-considerations-and-limitations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Consider the following when working with temporal tables:
4545

4646
- **Always On:** Fully supported
4747
- **Change Data Capture and Change Data Tracking:** Supported only on the current table
48-
- **Snapshot and transactional replication**: Only supported for a single publisher without temporal being enabled and one subscriber with temporal enabled. In this case, the publisher is used for an OLTP workload while subscriber serves for offloading reporting (including 'AS OF' querying). When the distribution agent starts, it opens a transaction that is held open until distribution agent stops. Due to this behavior SysStartTime and SysEndTime are populated to begin time of first transaction that distribution agent starts. Consequently, it may be preferable to run the distribution agent on a schedule rather than the default of running it continuously. Use of multiple subscribers is not supported as this may lead to inconsistent temporal data due to dependency on local system clock.
48+
- **Snapshot and transactional replication**: Only supported for a single publisher without temporal being enabled and one subscriber with temporal enabled. In this case, the publisher is used for an OLTP workload while subscriber serves for offloading reporting (including 'AS OF' querying). When the distribution agent starts, it opens a transaction that is held open until distribution agent stops. Due to this behavior SysStartTime and SysEndTime are populated to the begin time of the first transaction that distribution agent starts. Consequently, it may be preferable to run the distribution agent on a schedule rather than the default behavior of running it continuously, if having SysStartTime and SysEndTime populated with a time that is close to the current system time is important to your application or organization. Use of multiple subscribers is not supported as this may lead to inconsistent temporal data due to dependency on local system clock.
4949
- **Merge replication:** Not supported for temporal tables
5050

5151
- Regular queries only affect data in the current table. To query data in the history table, you must use temporal queries. These are discussed later in this document in the section entitled Querying Temporal Data.

0 commit comments

Comments
 (0)