Skip to content

Commit c753982

Browse files
authored
Merge pull request #7152 from SQLSourabh/patch-38
Update replication-snapshot-agent.md
2 parents b2e9153 + 6f9b3cc commit c753982

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

docs/relational-databases/replication/agents/replication-snapshot-agent.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Replication Snapshot Agent | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/14/2017"
4+
ms.date: "09/07/2018"
55
ms.prod: sql
66
ms.prod_service: "database-engine"
77
ms.component: "replication"
@@ -59,6 +59,7 @@ snapshot [ -?]
5959
[-Output output_path_and_file_name]
6060
[-OutputVerboseLevel [0|1|2] ]
6161
[-PacketSize packet_size]
62+
[-PrefetchTables [0|1] ]
6263
[-ProfileName profile_name]
6364
[-PublisherDB publisher_database]
6465
[-PublisherDeadlockPriority [-1|0|1] ]
@@ -196,7 +197,15 @@ snapshot [ -?]
196197

197198
> [!NOTE]
198199
> Do not change the packet size unless you are certain that it will improve performance. For most applications, the default packet size is best.
200+
201+
**-PrefetchTables** [ **0**| **1**]
202+
Optional parameter that specifies if the table objects will be prefetched and cached. The default behavior is to prefetch certain table properties using SMO component based on an internal calculation. This parameter can be helpful in scenarions where SMO prefetch operation takes considerable longer to run. If this parameter is not used, this decision is made at runtime based on the percentage of tables that are added as articles to the publication.
199203

204+
|OutputVerboseLevel value|Description|
205+
|------------------------------|-----------------|
206+
|**0**|Call to Prefetch method of SMO component is disabled.|
207+
|**1**|Snapshot Agent will call Prefetch method to cache some table properties using SMO|
208+
200209
**-ProfileName** *profile_name*
201210
Specifies an agent profile to use for agent parameters. If **ProfileName** is NULL, the agent profile is disabled. If **ProfileName** is not specified, the default profile for the agent type is used. For information, see [Replication Agent Profiles](../../../relational-databases/replication/agents/replication-agent-profiles.md).
202211

0 commit comments

Comments
 (0)