Snapshot Replication
Snapshot Replication
THIS TOPIC APPLIES TO: SQL Server Azure SQL Database Azure
SQL Data Warehouse Parallel Data Warehouse
In this topic
For merge publications, the Snapshot Agent does not take any
locks.
For transactional publications, by default the Snapshot Agent take
locks only during the initial phase of snapshot generation.
For snapshot publications, locks are held during the entire snapshot
generation process.
2. Writes a copy of the table schema for each article to a .sch file. If other
database objects are published, such as indexes, constraints, stored
procedures, views, user-defined functions, and so on, additional script
files are generated.
3. Copies the data from the published table at the Publisher and writes the
data to the snapshot folder. The snapshot is generated as a set of bulk
copy program (BCP) files.
4. For snapshot and transactional publications, the Snapshot Agent
appends rows to the MSrepl_commands and MSrepl_transactions tables
in the distribution database. The entries in the MSrepl_commands table
are commands indicating the location of .sch and .bcp files, any other
snapshot files, and references to any pre- or post-snapshot scripts. The
entries in the MSrepl_transactions table are commands relevant to
synchronizing the Subscriber.