- Newest
- Most votes
- Most comments
When using AWS DMS with SQL Server as a source for a full load operation, DMS reads data directly from the tables using SELECT statements, not from the transaction log. The transaction log is only used for Change Data Capture (CDC) operations to capture ongoing changes after the initial load.
For full load operations with SQL Server, DMS executes SELECT queries against the source tables. When you apply table-level filters or use watermarking, these are incorporated into the SELECT statements to retrieve only the data that meets your specified criteria. The transaction log is not involved in this process.
However, it's worth noting that if you're running a full load and CDC task combined, DMS does interact with the transaction log for the CDC portion. During the full load phase of such a task, if there are open transactions on tables being migrated, DMS may need to wait for those transactions to commit or roll back before proceeding, as it uses the READ COMMITTED isolation level by default. But the actual data retrieval for the full load itself still comes directly from the tables, not from reading the transaction log.
The transaction log reading capabilities (such as the ReadBackupOnly setting) are specifically for CDC operations to capture changes, not for the initial full load data extraction.
Sources
How AWS DMS handles open transactions when starting a full load and CDC task | AWS Database Blog
MicrosoftSQLServerSettings - AWS Database Migration Service
Relevant content
asked 9 months ago
asked 3 years ago
