Interview Questions

1. Are tables locked during snapshot generation?

The length of time that the locks are taken depends on the type of replication used:

  •  For merge publications, the Snapshot Agent does not take any locks.
  •  For transactional publications, by default the Snapshot Agent takes locks only during the initial phase of snapshot generation.
  •  For snapshot publications the Snapshot Agent takes locks during the entire snapshot generation process. 

Because locks prevent other users from updating the tables, the Snapshot Agent should be scheduled to execute during periods of lower activity on the database, especially for snapshot publications.

By Hena Parveen 2 0
Is this helpful? Yes No

Submit an interview question

Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.

Get Started

Comments

Leave a Comment


Check out more interview questions

Based on your skills

MS SQL Server

2567629 1720 50 859

Angular

67721 92 0 46

Wordpress

57027 72 1 36