<?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 Questions about readSnapshotOnUnload parameter of MS SQL Server Endpoint in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Questions-about-readSnapshotOnUnload-parameter-of-MS-SQL-Server/m-p/2464455#M11656</link>
    <description>&lt;P&gt;Hello Experts&lt;/P&gt;
&lt;P&gt;I have some questions regarding readSnapshotOnUnload parameter of MS SQL Server Endpoint.&lt;/P&gt;
&lt;P&gt;Our customer is trying to migrate from on-premises SQL Server to RDS SQL Server.&lt;BR /&gt;The following internal parameter is set in the current Endpoint connecting to the on-premises SQL Server.&lt;BR /&gt;We would like to confirm if the internal parameters are still necessary to connect to RDS SQL Server.&lt;/P&gt;
&lt;PRE&gt;readSnapshotOnUnload = TRUE&lt;/PRE&gt;
&lt;P&gt;Questions :&lt;/P&gt;
&lt;P&gt;1. In which case does readSnapshotOnUnload parameter need to be set?&lt;/P&gt;
&lt;P&gt;Though my understanding is that it is required in order to ensure read consistency,&lt;BR /&gt;(e.g. in case that the SQL Server isolation level is not 'serializable' nor 'snapshots')&lt;BR /&gt;I would like to clarify which case should we use.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;2. Is it required readSnapshotOnUnload=TRUE connecting to RDS SQL Server?&lt;/P&gt;
&lt;P&gt;As far as I confirmed in our test RDS SQL Server environment, isolation level is 'read committed'.&lt;/P&gt;
&lt;P&gt;And when I tried the parameter readSnapshotOnUnload = TRUE, connecting to RDS SQL Server, &lt;BR /&gt;I noticed that the following settings were required.&lt;/P&gt;
&lt;PRE&gt;ALTER DATABASE &amp;lt;dbname&amp;gt; SET READ_COMMITTED_SNAPSHOT ON&lt;BR /&gt;ALTER DATABASE &amp;lt;dbname&amp;gt; SET ALLOW_SNAPSHOT_ISOLATION ON&lt;/PRE&gt;
&lt;P&gt;I am wondering how to configure the settings to be the same as when connecting to an on-premise SQL Server.&lt;/P&gt;
&lt;P&gt;Any advice would be appreciated.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Kyoko Tajima&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2024 05:48:56 GMT</pubDate>
    <dc:creator>iti-attunity-sup</dc:creator>
    <dc:date>2024-06-21T05:48:56Z</dc:date>
    <item>
      <title>Questions about readSnapshotOnUnload parameter of MS SQL Server Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Questions-about-readSnapshotOnUnload-parameter-of-MS-SQL-Server/m-p/2464455#M11656</link>
      <description>&lt;P&gt;Hello Experts&lt;/P&gt;
&lt;P&gt;I have some questions regarding readSnapshotOnUnload parameter of MS SQL Server Endpoint.&lt;/P&gt;
&lt;P&gt;Our customer is trying to migrate from on-premises SQL Server to RDS SQL Server.&lt;BR /&gt;The following internal parameter is set in the current Endpoint connecting to the on-premises SQL Server.&lt;BR /&gt;We would like to confirm if the internal parameters are still necessary to connect to RDS SQL Server.&lt;/P&gt;
&lt;PRE&gt;readSnapshotOnUnload = TRUE&lt;/PRE&gt;
&lt;P&gt;Questions :&lt;/P&gt;
&lt;P&gt;1. In which case does readSnapshotOnUnload parameter need to be set?&lt;/P&gt;
&lt;P&gt;Though my understanding is that it is required in order to ensure read consistency,&lt;BR /&gt;(e.g. in case that the SQL Server isolation level is not 'serializable' nor 'snapshots')&lt;BR /&gt;I would like to clarify which case should we use.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;2. Is it required readSnapshotOnUnload=TRUE connecting to RDS SQL Server?&lt;/P&gt;
&lt;P&gt;As far as I confirmed in our test RDS SQL Server environment, isolation level is 'read committed'.&lt;/P&gt;
&lt;P&gt;And when I tried the parameter readSnapshotOnUnload = TRUE, connecting to RDS SQL Server, &lt;BR /&gt;I noticed that the following settings were required.&lt;/P&gt;
&lt;PRE&gt;ALTER DATABASE &amp;lt;dbname&amp;gt; SET READ_COMMITTED_SNAPSHOT ON&lt;BR /&gt;ALTER DATABASE &amp;lt;dbname&amp;gt; SET ALLOW_SNAPSHOT_ISOLATION ON&lt;/PRE&gt;
&lt;P&gt;I am wondering how to configure the settings to be the same as when connecting to an on-premise SQL Server.&lt;/P&gt;
&lt;P&gt;Any advice would be appreciated.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Kyoko Tajima&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 05:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Questions-about-readSnapshotOnUnload-parameter-of-MS-SQL-Server/m-p/2464455#M11656</guid>
      <dc:creator>iti-attunity-sup</dc:creator>
      <dc:date>2024-06-21T05:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about readSnapshotOnUnload parameter of MS SQL Server Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Questions-about-readSnapshotOnUnload-parameter-of-MS-SQL-Server/m-p/2464687#M11658</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Tajima-san,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280"&gt;@iti-attunity-sup&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for reaching out to Qlik Community!&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;&lt;STRONG&gt;1. In which case does readSnapshotOnUnload parameter need to be set?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Though my understanding is that it is required in order to ensure read consistency,&lt;BR /&gt;(e.g. in case that the SQL Server isolation level is not 'serializable' nor 'snapshots')&lt;BR /&gt;I would like to clarify which case should we use.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Replicate is using the default isolation level of "Read Committed",&amp;nbsp;If source table is heavily used and/or being updated in high frequency by business applications during the Full Load stage then may introduce duplicate data and application pause, set &lt;FONT face="courier new,courier"&gt;readSnapshotOnUnload&lt;/FONT&gt; to ensure data consistency and minimize locking contention.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;2. Is it required readSnapshotOnUnload=TRUE connecting to RDS SQL Server?&lt;/STRONG&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;As same as on-premise MS SQL Server.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;STRONG&gt;I noticed that the following settings were required.&lt;/STRONG&gt;
&lt;PRE&gt;ALTER DATABASE &amp;lt;dbname&amp;gt; SET READ_COMMITTED_SNAPSHOT ON&lt;BR /&gt;ALTER DATABASE &amp;lt;dbname&amp;gt; SET ALLOW_SNAPSHOT_ISOLATION ON&lt;/PRE&gt;
&lt;P&gt;I am wondering how to configure the settings to be the same as when connecting to an on-premise SQL Server.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You are right, these settings are required by MS SQL Server itself. Regarding how to config it, I'm pasting &lt;A title="a link for your reference" href="https://cloud.google.com/datastream/docs/configure-amazon-rds-sqlserver#:~:text=ALTER%20DATABASE%20DATABASE_NAME%20SET%20ALLOW_SNAPSHOT_ISOLATION%20ON%3B" target="_blank" rel="noopener"&gt;a link for your reference&lt;/A&gt;, or it's better to confirm with databases service provider or MS.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 04:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Questions-about-readSnapshotOnUnload-parameter-of-MS-SQL-Server/m-p/2464687#M11658</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-06-22T04:51:24Z</dc:date>
    </item>
  </channel>
</rss>

