<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Slow SQL Server Replication while using SAN storage in Vault Forum</title>
    <link>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7463133#M31629</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we migrated from Vault 2014 to 2017 and moved to a new environment. For version 2014 we used SQL Server 2008 on a local hard disk RAID. With version 2017 we moved to a SQL 2014 SP2 cluster using SAN via fibre channel. The SQL replication has a &lt;STRONG&gt;delay of 3 hours&lt;/STRONG&gt; between publisher and subscriber. In 2014 there was no delay with the same amount of users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Asking the storage server team I got the answer, that our application send the requests with with a &lt;STRONG&gt;256K size&lt;/STRONG&gt;. The allocation of the SQL disk is formatted to 64K during initial setup of MS SQL, which is "normal" and recommended by Microsoft. From the storage monitor they saw, that with this size nothing can be stored in cache and a full disk read is needed all the time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone know if something changed between version 2014 and 2017. Can we do something on SQL site to set another parameter for replication. I tried already some changes in the merge agent profile but without any luck so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Thomas Helm&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2017 13:09:38 GMT</pubDate>
    <dc:creator>Thomas_Helm</dc:creator>
    <dc:date>2017-10-16T13:09:38Z</dc:date>
    <item>
      <title>Slow SQL Server Replication while using SAN storage</title>
      <link>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7463133#M31629</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we migrated from Vault 2014 to 2017 and moved to a new environment. For version 2014 we used SQL Server 2008 on a local hard disk RAID. With version 2017 we moved to a SQL 2014 SP2 cluster using SAN via fibre channel. The SQL replication has a &lt;STRONG&gt;delay of 3 hours&lt;/STRONG&gt; between publisher and subscriber. In 2014 there was no delay with the same amount of users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Asking the storage server team I got the answer, that our application send the requests with with a &lt;STRONG&gt;256K size&lt;/STRONG&gt;. The allocation of the SQL disk is formatted to 64K during initial setup of MS SQL, which is "normal" and recommended by Microsoft. From the storage monitor they saw, that with this size nothing can be stored in cache and a full disk read is needed all the time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone know if something changed between version 2014 and 2017. Can we do something on SQL site to set another parameter for replication. I tried already some changes in the merge agent profile but without any luck so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Thomas Helm&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 13:09:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7463133#M31629</guid>
      <dc:creator>Thomas_Helm</dc:creator>
      <dc:date>2017-10-16T13:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Slow SQL Server Replication while using SAN storage</title>
      <link>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7464718#M31630</link>
      <description>&lt;P&gt;The performance bottleneck is likely caused by missing optimization/tuning of the SQL server databases. SQL server tries to avoid disk reads at all costs, so if you see high levels of disc activity you should investigate why (using SQL performance monitor data). What is the SQL server cache hit ratio? Full table scans etc?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2017/ENU/Vault-Admin/files/GUID-B294A257-8EC3-43E8-BC46-D701594C78FD-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2017/ENU/Vault-Admin/files/GUID-B294A257-8EC3-43E8-BC46-D701594C78FD-htm.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Follow this guideline, it should help...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 19:30:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7464718#M31630</guid>
      <dc:creator>hans_martin_haga</dc:creator>
      <dc:date>2017-10-16T19:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Slow SQL Server Replication while using SAN storage</title>
      <link>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7471733#M31631</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4801524"&gt;@Thomas_Helm&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm just checking in to see if you need more help with this. Did the suggestion that &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5073696"&gt;@hans_martin_haga&lt;/a&gt; provided work for you?&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="-1" color="#666666"&gt;If so, please click &lt;FONT color="#87BC40"&gt;Accept as Solution&lt;/FONT&gt; on the posts that helped you so others in the community can find them easily.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jason&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 17:41:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7471733#M31631</guid>
      <dc:creator>Jason.Courtemanche</dc:creator>
      <dc:date>2017-10-18T17:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Slow SQL Server Replication while using SAN storage</title>
      <link>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7473282#M31632</link>
      <description>&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;no, because the things described in the document are still implemented. We are using a storage which was setup with 64k. The SQL reads with 256k which results in a disk read as the storage cannot keep things in the cache. This was the answer from the storage team. Before we was using physical disks within the hardware itself and not faced any issues with the replication. My question is now, did we setup the SQL or storage in a wrong way or was there any changes in the replication setup of Vault.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 07:19:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7473282#M31632</guid>
      <dc:creator>Thomas_Helm</dc:creator>
      <dc:date>2017-10-19T07:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Slow SQL Server Replication while using SAN storage</title>
      <link>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7479213#M31633</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4801524"&gt;@Thomas_Helm&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the update. I am not aware of any changes to SQL Replication that would add 3 hours to the replication time. How did you test this did you check in one file or assembly at the subscriber and wait 3 hours for the data to be replicated to the publisher?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5073696"&gt;@hans_martin_haga&lt;/a&gt;&amp;nbsp; mentioned please double check the SQL Servers to make sure that the initial size and autogrowth for the .mdf&amp;nbsp;and .ldf&amp;nbsp;are set to the recommendations in the &lt;A href="https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2017/ENU/Vault-Admin/files/GUID-B294A257-8EC3-43E8-BC46-D701594C78FD-htm.html" target="_blank"&gt;SQL Maintenance Plan&lt;/A&gt;&amp;nbsp;step 9. Where you able to run SQL Performance Monitor?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What size is the database that is getting replicated? Are you also replicating read-only databases like the content center library&amp;nbsp;(CCL)?&lt;/P&gt;
&lt;P&gt;What is the spec of the servers so I have an idea of your environment?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are a lot&amp;nbsp;of factors that affect performance, especially when looking at SQL Replication because of all the hardware and steps involved with replicating a SQL table and data from one server to another. Without a baseline, it's hard to know how different the new servers are compared to before upgrading. Also when upgrading the Vault Server from 2014 to 2017 you have to upgrade the Server hardware, OS, SQL Version. The easiest&amp;nbsp;scenario for testing is just switching the local RIAD hard drive for a NAS and not make any other changes to the production server. This way only one thing has changed so you have a control and can run the same test twice.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the new hard drive was set up for 64K and the old hard drive RAID was set up as 64K both hard drives, SQL should have been writing to the disk in the same way. Do you know what tool the IT group used to&amp;nbsp;capture the request&amp;nbsp;size of&amp;nbsp;256K from SQL to the hard drive?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Traditional&amp;nbsp;RIAD systems have the same hard drive in the array so access times are constant. SAN can use a hybrid approach like SSD and HHD to move files from one hard drive type to the other depending on how frequent the access is.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; What RAID level where you using with Vault 2014?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; How is the SAN configured does it also use RAID or a hybrid&amp;nbsp;approach?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Is the SAN setup with&amp;nbsp;1024 KB starting offset, and a 64Kb block size?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; What is the SAN Cache set to?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A good read for anyone who wants to know more about &lt;A href="https://technet.microsoft.com/en-us/library/dd758814(v=sql.100).aspx" target="_blank"&gt;Disk partitions alignment and how it can affect SQL servers&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Or if you want to check if your volume was created with &lt;A href="https://blogs.msdn.microsoft.com/spucelik/2016/12/27/sql-server-disk-allocation-size/" target="_blank"&gt;Allocation unit size of 64K&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jason&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 19:48:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7479213#M31633</guid>
      <dc:creator>Jason.Courtemanche</dc:creator>
      <dc:date>2017-10-20T19:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Slow SQL Server Replication while using SAN storage</title>
      <link>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7483844#M31634</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;seems the issue and large delay is solved. Last weekend we had our monthly server patch day which reboot all server. Maybe some cache was overloaded after our migration and replication setup 4 weeks ago. Lets see if the performance goes down during the next days/weeks until our next patch day. Another point can be, that one of the two cluster nodes have an issue. before the shutdown, we used node 2 and now we are using node 1. I will check this with our IT and let you know what exactly causes the delay.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 14:32:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7483844#M31634</guid>
      <dc:creator>Thomas_Helm</dc:creator>
      <dc:date>2017-10-23T14:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Slow SQL Server Replication while using SAN storage</title>
      <link>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7484454#M31635</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4801524"&gt;@Thomas_Helm&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the update.&amp;nbsp;I am glad that installing windows updates and rebooting all of the servers resolved the slow SQL replication issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is interesting that there was an issue with the SQL Cluster on shutdown, please keep me update if the performance issue comes back.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will mark your post and mine as the solution. We can update this when there are more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyone looking for more information about configuring the &lt;A href="https://knowledge.autodesk.com/support/vault-products/troubleshooting/caas/sfdcarticles/sfdcarticles/Autodesk-Vault-and-SQL-Failover-Clustering.html" target="_blank"&gt;Vault Server to use SQL Failover Cluster (WSFC)&lt;/A&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jason&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="-1" color="#666666"&gt;If one or more of these posts helped answer your question, please click &lt;FONT color="#87BC40"&gt;Accept as Solution&lt;/FONT&gt; on the posts that helped you so others in the community can find them easily.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 18:13:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/slow-sql-server-replication-while-using-san-storage/m-p/7484454#M31635</guid>
      <dc:creator>Jason.Courtemanche</dc:creator>
      <dc:date>2017-10-24T18:13:32Z</dc:date>
    </item>
  </channel>
</rss>

