<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>What’s new in Sync Services for ADO.NET 2.0?</title><link>http://blogs.msdn.com/b/synchronizer/archive/2007/12/13/what-s-new-in-sync-services-for-ado-ne-2-0.aspx</link><description>As you know we’ve released the V1.0 of Sync Services for ADO.NET as a standalone package. It is also bundled with Visual Studio 2008 with additional Sync Designer experience. Sync Services is one component in a comprehensive sync platform offering from</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: What’s new in Sync Services for ADO.NET 2.0?</title><link>http://blogs.msdn.com/b/synchronizer/archive/2007/12/13/what-s-new-in-sync-services-for-ado-ne-2-0.aspx#10169595</link><pubDate>Mon, 30 May 2011 13:51:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10169595</guid><dc:creator>SYNC IS VERY VERY SLOW</dc:creator><description>&lt;p&gt;Dear All,&lt;/p&gt;
&lt;p&gt;SYNC IS VERY VERY SLOW (With batching) using bidirectional by terminal&lt;/p&gt;
&lt;p&gt;I have implemented batching from syncguru website, now it is working fine, but it takes a long time to complete the process. &amp;quot;Demo VIII: Offline Application - Batching&amp;quot;&lt;/p&gt;
&lt;p&gt;the link is &lt;a rel="nofollow" target="_new" href="http://www.syncguru.com/projects/SyncServicesDemoBatching.aspx"&gt;www.syncguru.com/.../SyncServicesDemoBatching.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Total records in my table : 60,000 records&lt;/p&gt;
&lt;p&gt;BatchSize : 3000&lt;/p&gt;
&lt;p&gt;Total Duration : For updating 1000 records, it takes more than 90 seconds&lt;/p&gt;
&lt;p&gt;i need to reduce the &amp;quot;Total Duration&amp;quot; upto 30 seconds atleast.&lt;/p&gt;
&lt;p&gt;Please provide your valuable suggestions.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;yesu&lt;/p&gt;
&lt;p&gt;yesudassmca@gmail.com&lt;/p&gt;
&lt;p&gt;-- &amp;nbsp;&lt;/p&gt;
&lt;p&gt;-- &amp;nbsp;*********************************************** &amp;nbsp;&lt;/p&gt;
&lt;p&gt;-- &amp;nbsp; &amp;nbsp; NewAnchor proc with batching support &amp;nbsp;&lt;/p&gt;
&lt;p&gt;-- &amp;nbsp;*********************************************** &amp;nbsp;&lt;/p&gt;
&lt;p&gt;-- &amp;nbsp;&lt;/p&gt;
&lt;p&gt;create procedure [dbo].[sp_new_batch_anchor] ( &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@sync_last_received_anchor bigint , &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@sync_batch_size int, &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;@sync_max_received_anchor bigint output, &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;@sync_new_received_anchor bigint output, &amp;nbsp; &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp;@sync_batch_count int output) &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;as &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; if @sync_batch_size &amp;lt;= 0 &amp;nbsp;or @sync_batch_size is null &amp;nbsp;&lt;/p&gt;
&lt;p&gt;	set @sync_batch_size = 3000 &amp;nbsp;&lt;/p&gt;
&lt;p&gt; if @sync_max_received_anchor is null &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; set @sync_max_received_anchor = &amp;nbsp;min_active_rowversion()-1 -- @@DBTS --min_active_rowversion()-1 &amp;nbsp;&lt;/p&gt;
&lt;p&gt; -- simplest form of batching &amp;nbsp;&lt;/p&gt;
&lt;p&gt; if @sync_last_received_anchor is null or @sync_last_received_anchor = 0 &amp;nbsp;&lt;/p&gt;
&lt;p&gt; begin &amp;nbsp; &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; set @sync_new_received_anchor = @sync_batch_size &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;if @sync_batch_count &amp;lt;= 0 or @sync_batch_count is null &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; set @sync_batch_count = (@sync_max_received_anchor / &amp;nbsp;@sync_batch_size) + 1 &amp;nbsp;&lt;/p&gt;
&lt;p&gt; end &amp;nbsp;&lt;/p&gt;
&lt;p&gt; else &amp;nbsp;&lt;/p&gt;
&lt;p&gt; begin &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; set @sync_new_received_anchor = @sync_last_received_anchor + @sync_batch_size &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;if @sync_batch_count &amp;lt;= 0 or @sync_batch_count is null &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; set @sync_batch_count = (@sync_max_received_anchor / &amp;nbsp;@sync_batch_size) - (@sync_new_received_anchor / &amp;nbsp;@sync_batch_size) + 1 &amp;nbsp;&lt;/p&gt;
&lt;p&gt; end &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;-- check if this is the last batch &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;if @sync_new_received_anchor &amp;gt;= @sync_max_received_anchor &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;begin &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set @sync_new_received_anchor = @sync_max_received_anchor &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;if @sync_batch_count &amp;lt;= 0 or @sync_batch_count is null &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; set @sync_batch_count = 1 &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;end &amp;nbsp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10169595" width="1" height="1"&gt;</description></item><item><title>re: What’s new in Sync Services for ADO.NET 2.0?</title><link>http://blogs.msdn.com/b/synchronizer/archive/2007/12/13/what-s-new-in-sync-services-for-ado-ne-2-0.aspx#7416415</link><pubDate>Sun, 03 Feb 2008 21:16:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7416415</guid><dc:creator>MSDNArchive</dc:creator><description>&lt;p&gt;Hi englewood,&lt;/p&gt;
&lt;p&gt;Using SQL Change tracking with Peer Provider is not as straight forward at this point. For one, you cannot edit SQL Change Tracking metadata thus you cannot really write Update or Delete metadata commands. That said, there are other ways to do this. The sync team should post some details on how to get this done.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Rafik&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7416415" width="1" height="1"&gt;</description></item><item><title>re: What’s new in Sync Services for ADO.NET 2.0?</title><link>http://blogs.msdn.com/b/synchronizer/archive/2007/12/13/what-s-new-in-sync-services-for-ado-ne-2-0.aspx#7314359</link><pubDate>Wed, 30 Jan 2008 02:05:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7314359</guid><dc:creator>Udai</dc:creator><description>&lt;p&gt;How to we use DbPeerSyncProvider with SQL Server 2008 change tracking. &amp;nbsp;I would like to bind all the adapter column property into changetable columns.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7314359" width="1" height="1"&gt;</description></item><item><title>Sync Services for ADO.NET 2.0</title><link>http://blogs.msdn.com/b/synchronizer/archive/2007/12/13/what-s-new-in-sync-services-for-ado-ne-2-0.aspx#6977342</link><pubDate>Fri, 04 Jan 2008 12:26:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6977342</guid><dc:creator>Vinod Kumar's Blog</dc:creator><description>&lt;p&gt;Check the post on whatz new on Sync Services 2.0 version here.&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6977342" width="1" height="1"&gt;</description></item><item><title>re: What’s new in Sync Services for ADO.NET 2.0?</title><link>http://blogs.msdn.com/b/synchronizer/archive/2007/12/13/what-s-new-in-sync-services-for-ado-ne-2-0.aspx#6791516</link><pubDate>Mon, 17 Dec 2007 21:22:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6791516</guid><dc:creator>MSDNArchive</dc:creator><description>&lt;p&gt;Hi Vince,&lt;/p&gt;
&lt;p&gt;The samples in this directory are the one you want to look into. These are the ones I wrote with my team. You should not need to change the code at all. I did install CTP1 on a clean machine and then compiled the sample which worked just fine. Try to uninstall exiting stuff first and I will look into this from my side. &lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Rafik&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6791516" width="1" height="1"&gt;</description></item><item><title>re: What’s new in Sync Services for ADO.NET 2.0?</title><link>http://blogs.msdn.com/b/synchronizer/archive/2007/12/13/what-s-new-in-sync-services-for-ado-ne-2-0.aspx#6791176</link><pubDate>Mon, 17 Dec 2007 20:24:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6791176</guid><dc:creator>VinceX.NET</dc:creator><description>&lt;p&gt;Hi Rafik,&lt;/p&gt;
&lt;p&gt;Just a question: I'm struggling to play with CTP1 bits; all samples included inside &amp;quot;C:\Program Files\Microsoft Sync Framework\v1.0\Runtime\ADO.NET\V2.0\Samples] still use version 1.0 of Microsoft.Synchronization.Data.dll and a lot of code must be changed to make it work.&lt;/p&gt;
&lt;p&gt;I want to create a synchro layer for my application but I need a sample to start correctly.&lt;/p&gt;
&lt;p&gt;Do you have one good sample which use the new CTP1 bits ?&lt;/p&gt;
&lt;p&gt;Thxs&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;-Vince&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6791176" width="1" height="1"&gt;</description></item><item><title>re: What’s new in Sync Services for ADO.NET 2.0?</title><link>http://blogs.msdn.com/b/synchronizer/archive/2007/12/13/what-s-new-in-sync-services-for-ado-ne-2-0.aspx#6790710</link><pubDate>Mon, 17 Dec 2007 19:01:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6790710</guid><dc:creator>jgilkey</dc:creator><description>&lt;p&gt;Thank you! Been waiting for this for a while :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6790710" width="1" height="1"&gt;</description></item></channel></rss>