<?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 Re: Compressing Tables on SQL Server in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2024435#M4672</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/153202"&gt;@billmcevoy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you would like to pursue this further, you can submit this as a feature request here for our Product Management team to evaluate:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas" target="_blank"&gt;https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2023 15:28:32 GMT</pubDate>
    <dc:creator>Dana_Baldwin</dc:creator>
    <dc:date>2023-01-11T15:28:32Z</dc:date>
    <item>
      <title>Compressing Tables on SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2023986#M4666</link>
      <description>&lt;P&gt;Is there a way to specify in QLIK Replication that when it creates target tables in SQL Server that it also enable compression?&amp;nbsp; It would be preferred to do it on a table by table basis.&lt;/P&gt;
&lt;P&gt;What happens now is that we enabled compression in the target after QLIK created the tables, but when the task was restarted, the old tables were dropped and new tables added without compression.&lt;/P&gt;
&lt;P&gt;We needed to restart the task to bring over new columns from the Oracle source, otherwise we would normally just truncate and import.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 18:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2023986#M4666</guid>
      <dc:creator>billmcevoy</dc:creator>
      <dc:date>2023-01-10T18:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compressing Tables on SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2024171#M4671</link>
      <description>&lt;P&gt;Hi Billmcevoy,&lt;/P&gt;&lt;P&gt;Hope all is good on your end.&lt;/P&gt;&lt;P&gt;Unfortunately, that won’t be possible because it’d slower the task RW process, resulting in bad performance.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 08:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2024171#M4671</guid>
      <dc:creator>MartinBurgos</dc:creator>
      <dc:date>2023-01-11T08:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Compressing Tables on SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2024435#M4672</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/153202"&gt;@billmcevoy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you would like to pursue this further, you can submit this as a feature request here for our Product Management team to evaluate:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas" target="_blank"&gt;https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 15:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2024435#M4672</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2023-01-11T15:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Compressing Tables on SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2024648#M4690</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/153202"&gt;@billmcevoy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Totally agree with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121014"&gt;@Dana_Baldwin&lt;/a&gt;&amp;nbsp;. In general we may custom the target endpoint CREATE TABLE SQL statements to add some special settings eg COMPRESSION, NLS language, CODEPAGE, Storage setting etc. However there are a few of exceptions, SQL Server target is one of the exception unfortunately . That's why we need a FR.&lt;/P&gt;
&lt;P&gt;In current Replicate version the available options:&lt;/P&gt;
&lt;P&gt;1. We need to create the table with COMPRESSION properties manually prior to the task FULl Load by setting "&lt;SPAN&gt;If target table already exists&lt;/SPAN&gt;" to "&lt;SPAN&gt;TRUNCATE before loading&lt;/SPAN&gt;" in Replicate. With this setting Replicate will keep the COMPRESSION properties of the table.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1673486589122.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97839i2ED4A8385AD3F4A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1673486589122.png" alt="john_wang_0-1673486589122.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Or, you may let Replicate create the target table automatically without COMPRESSION (so far we need not to create the table manually), after the Full Load done then compress the table manually, then resume the task.&lt;/P&gt;
&lt;TABLE style="border-style: none; width: 100%; background-color: lightgrey;" border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;&lt;FONT face="courier new,courier"&gt;alter table &lt;EM&gt;table_name&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;rebuild with (datacompression = page | row | none);&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1673486992178.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97840iFDB8DCAF21B5ACE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1673486992178.png" alt="john_wang_1-1673486992178.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 01:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2024648#M4690</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-01-12T01:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Compressing Tables on SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2024670#M4695</link>
      <description>&lt;P&gt;Thank you for your answers everyone.&amp;nbsp; Even with compression on (I added it after the tables were created) performance is not an issue.&amp;nbsp; In fact, we are all very impressed with the performance.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 04:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2024670#M4695</guid>
      <dc:creator>billmcevoy</dc:creator>
      <dc:date>2023-01-12T04:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Compressing Tables on SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2025360#M4715</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/153202"&gt;@billmcevoy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for you opening the FR:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Suggest-an-Idea/Add-option-to-run-a-SQL-script-when-a-Replicate-task-is/idi-p/2025067" target="_blank"&gt;https://community.qlik.com/t5/Suggest-an-Idea/Add-option-to-run-a-SQL-script-when-a-Replicate-task-is/idi-p/2025067&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 09:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Compressing-Tables-on-SQL-Server/m-p/2025360#M4715</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-01-13T09:20:27Z</dc:date>
    </item>
  </channel>
</rss>

