<?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>article Qlik Talend Data Integration: Task execution was blocked/suspended due to high fragmentation percent with PAGEIOLATCH_SH wait status in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Talend-Data-Integration-Task-execution-was-blocked/ta-p/2482192</link>
    <description>&lt;P&gt;&lt;SPAN&gt;A task containing tMysqlOutput component, which performs insert/update operations, has been blocked/suspended due to a PAGEIOLATCH_SH wait type status and has been pending for several hours.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="status.png" style="width: 951px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171884i0B551BDF649EBA6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="status.png" alt="status.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Cause&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;DIV class="test-id__field-label-container slds-form-element__label" data-aura-rendered-by="485:20694;a"&gt;
&lt;DIV class="tooltip-trigger uiTooltip" tabindex="0" aria-describedby="tt-for-30173:0" data-aura-rendered-by="30176:0" data-aura-class="uiTooltip"&gt;PAGEIOLATCH_SH&amp;nbsp;&lt;SPAN&gt;wait type usually comes up as the result of fragmented or unoptimized index.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="slds-form-element__control slds-grid itemBody" data-aura-rendered-by="488:20694;a"&gt;
&lt;DIV class="slds-rich-text-editor__output uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge" dir="ltr" data-aura-rendered-by="480:20694;a" data-aura-class="uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge"&gt;
&lt;P data-aura-rendered-by="481:20694;a"&gt;Often reasons for excessive&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PAGEIOLATCH_SH&amp;nbsp;wait type are:&lt;/P&gt;
&lt;UL data-aura-rendered-by="481:20694;a"&gt;
&lt;LI&gt;I/O subsystem has a problem or is misconfigured&lt;/LI&gt;
&lt;LI&gt;Overloaded I/O subsystem by other processes that are producing the high I/O activity&lt;/LI&gt;
&lt;LI&gt;Bad index management&lt;/LI&gt;
&lt;LI&gt;Logical or physical drive misconception&lt;/LI&gt;
&lt;LI&gt;Network issues/latency&lt;/LI&gt;
&lt;LI&gt;Memory pressure&lt;/LI&gt;
&lt;LI&gt;Synchronous Mirroring and AlwaysOn AG&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-aura-rendered-by="481:20694;a"&gt;To resolve the issue of high PAGEIOLATCH_SH wait type, you can check the following:&lt;/P&gt;
&lt;UL data-aura-rendered-by="481:20694;a"&gt;
&lt;LI&gt;SQL Server, queries and indexes, as very often this could be found as a root cause of the excessive&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PAGEIOLATCH_SH&amp;nbsp;wait types&lt;/LI&gt;
&lt;LI&gt;For memory pressure before jumping into any I/O subsystem troubleshooting&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-aura-rendered-by="481:20694;a"&gt;Always keep in mind that in case of high safety Mirroring or synchronous-commit availability in AlwaysOn AG, increased/excessive&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PAGEIOLATCH_SH&amp;nbsp;can be expected.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P data-aura-rendered-by="481:1645;a"&gt;&lt;STRONG&gt;Based on the SQL query check we figured out the&amp;nbsp;avg_fragmentation_in_percent showing&amp;nbsp; 90%+ , which means the index is maintenance badly.&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;USE DBName;&lt;BR /&gt;GO&lt;BR /&gt;-- Find the average fragmentation percentage of all indexes&lt;BR /&gt;-- in the HumanResources.Employee table.&lt;BR /&gt;SELECT a.index_id, name, avg_fragmentation_in_percent&lt;BR /&gt;FROM sys.dm_db_index_physical_stats (DB_ID(N'DBName'),&lt;BR /&gt;OBJECT_ID(N'dbo.TableName'), NULL, NULL, NULL) AS a&lt;BR /&gt;JOIN sys.indexes AS b&lt;BR /&gt;ON a.object_id = b.object_id AND a.index_id = b.index_id;&lt;BR /&gt;GO&lt;/P&gt;
&lt;P data-aura-rendered-by="481:1645;a"&gt;==Detecting Fragmentation==&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The first step in deciding which defragmentation method to use is to analyze the index to determine the degree of fragmentation. By using the system function&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-index-physical-stats-transact-sql?view=sql-server-2017" target="_blank" rel="noopener" data-aura-rendered-by="481:1645;a"&gt;sys.dm_db_index_physical_stats&lt;/A&gt;&lt;SPAN&gt;, you can detect fragmentation in a specific index, all indexes on a table or indexed view, all indexes in a database, or all indexes in all databases. For partitioned indexes,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG data-aura-rendered-by="481:1645;a"&gt;sys.dm_db_index_physical_stats&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;also provides fragmentation information for each partition.&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="481:1645;a" /&gt;&lt;BR data-aura-rendered-by="481:1645;a" /&gt;&lt;SPAN&gt;The result set returned by the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG data-aura-rendered-by="481:1645;a"&gt;sys.dm_db_index_physical_stats&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;function includes the following columns.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE width="376px" data-aura-rendered-by="481:1645;a"&gt;&lt;COLGROUP&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH colspan="1" rowspan="1"&gt;Column&lt;/TH&gt;
&lt;TH colspan="1" rowspan="1"&gt;Description&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" rowspan="1"&gt;avg_fragmentation_in_percent&lt;/TD&gt;
&lt;TD colspan="1" rowspan="1"&gt;The percent of logical fragmentation (out-of-order pages in the index)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" rowspan="1"&gt;fragment_count&lt;/TD&gt;
&lt;TD colspan="1" rowspan="1"&gt;The number of fragments (physically consecutive leaf pages) in the index&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" rowspan="1"&gt;avg_fragment_size_in_pages&lt;/TD&gt;
&lt;TD colspan="1" rowspan="1"&gt;Average number of pages in one fragment in an index&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;H3 class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="query_example.png" style="width: 955px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171883iE5936A515C2B66DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="query_example.png" alt="query_example.png" /&gt;&lt;/span&gt;&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;DIV class="test-id__field-label-container slds-form-element__label" data-aura-rendered-by="514:1645;a"&gt;
&lt;DIV class="tooltip-trigger uiTooltip" tabindex="0" aria-describedby="tt-for-21516:0" data-aura-rendered-by="21519:0" data-aura-class="uiTooltip"&gt;&lt;SPAN&gt;After the degree of fragmentation is known, refer&amp;nbsp;to the table below to determine the most effective method to correct the fragmentation.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="tooltip-trigger uiTooltip" tabindex="0" aria-describedby="tt-for-21516:0" data-aura-rendered-by="21519:0" data-aura-class="uiTooltip"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="slds-form-element__control slds-grid itemBody" data-aura-rendered-by="517:1645;a"&gt;
&lt;DIV class="slds-rich-text-editor__output uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge" dir="ltr" data-aura-rendered-by="509:1645;a" data-aura-class="uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge"&gt;
&lt;TABLE width="532px" data-aura-rendered-by="510:1645;a"&gt;&lt;COLGROUP&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH colspan="1" rowspan="1" width="253.562px"&gt;avg_fragmentation_in_percent value&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TH&gt;
&lt;TH colspan="1" rowspan="1" width="277.638px"&gt;Corrective statement&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" rowspan="1" width="253.562px"&gt;&amp;gt; 5% and &amp;lt; = 30%&lt;/TD&gt;
&lt;TD colspan="1" rowspan="1" width="277.638px"&gt;ALTER INDEX REORGANIZE&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" rowspan="1" width="253.562px"&gt;&amp;gt; 30%&lt;/TD&gt;
&lt;TD colspan="1" rowspan="1" width="277.638px"&gt;ALTER INDEX REBUILD WITH (ONLINE = ON)*&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P data-aura-rendered-by="510:1645;a"&gt;* Rebuilding an index can be executed online or offline. Reorganizing an index is always executed online. To achieve availability similar to the reorganize option, you should rebuild indexes online.&lt;BR /&gt;&lt;BR /&gt;These values provide a rough guideline for determining the point at which you should switch between ALTER INDEX REORGANIZE and ALTER INDEX REBUILD. However, the actual values may vary from case to case. It is important that you experiment to determine the best threshold for your environment. Very low levels of fragmentation (less than 5 percent) should not be addressed by either of these commands because the benefit from removing such a small amount of fragmentation is almost always vastly outweighed by the cost of reorganizing or rebuilding the index.&lt;BR /&gt;&lt;BR /&gt;In general, fragmentation on small indexes is often not controllable. The pages of small indexes are sometimes stored on mixed extents. Mixed extents are shared by up to eight objects, so the fragmentation in a small index might not be reduced after reorganizing or rebuilding the index.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Talend Data Integration" id="qlik_TalendDataIntegration"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;7.3.1, 8.0.1&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Thu, 19 Sep 2024 06:50:37 GMT</pubDate>
    <dc:creator>wei_guo</dc:creator>
    <dc:date>2024-09-19T06:50:37Z</dc:date>
    <item>
      <title>Qlik Talend Data Integration: Task execution was blocked/suspended due to high fragmentation percent with PAGEIOLATCH_SH wait status</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Talend-Data-Integration-Task-execution-was-blocked/ta-p/2482192</link>
      <description>&lt;P&gt;&lt;SPAN&gt;A task containing tMysqlOutput component, which performs insert/update operations, has been blocked/suspended due to a PAGEIOLATCH_SH wait type status and has been pending for several hours.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="status.png" style="width: 951px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171884i0B551BDF649EBA6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="status.png" alt="status.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Cause&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;DIV class="test-id__field-label-container slds-form-element__label" data-aura-rendered-by="485:20694;a"&gt;
&lt;DIV class="tooltip-trigger uiTooltip" tabindex="0" aria-describedby="tt-for-30173:0" data-aura-rendered-by="30176:0" data-aura-class="uiTooltip"&gt;PAGEIOLATCH_SH&amp;nbsp;&lt;SPAN&gt;wait type usually comes up as the result of fragmented or unoptimized index.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="slds-form-element__control slds-grid itemBody" data-aura-rendered-by="488:20694;a"&gt;
&lt;DIV class="slds-rich-text-editor__output uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge" dir="ltr" data-aura-rendered-by="480:20694;a" data-aura-class="uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge"&gt;
&lt;P data-aura-rendered-by="481:20694;a"&gt;Often reasons for excessive&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PAGEIOLATCH_SH&amp;nbsp;wait type are:&lt;/P&gt;
&lt;UL data-aura-rendered-by="481:20694;a"&gt;
&lt;LI&gt;I/O subsystem has a problem or is misconfigured&lt;/LI&gt;
&lt;LI&gt;Overloaded I/O subsystem by other processes that are producing the high I/O activity&lt;/LI&gt;
&lt;LI&gt;Bad index management&lt;/LI&gt;
&lt;LI&gt;Logical or physical drive misconception&lt;/LI&gt;
&lt;LI&gt;Network issues/latency&lt;/LI&gt;
&lt;LI&gt;Memory pressure&lt;/LI&gt;
&lt;LI&gt;Synchronous Mirroring and AlwaysOn AG&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-aura-rendered-by="481:20694;a"&gt;To resolve the issue of high PAGEIOLATCH_SH wait type, you can check the following:&lt;/P&gt;
&lt;UL data-aura-rendered-by="481:20694;a"&gt;
&lt;LI&gt;SQL Server, queries and indexes, as very often this could be found as a root cause of the excessive&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PAGEIOLATCH_SH&amp;nbsp;wait types&lt;/LI&gt;
&lt;LI&gt;For memory pressure before jumping into any I/O subsystem troubleshooting&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-aura-rendered-by="481:20694;a"&gt;Always keep in mind that in case of high safety Mirroring or synchronous-commit availability in AlwaysOn AG, increased/excessive&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PAGEIOLATCH_SH&amp;nbsp;can be expected.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P data-aura-rendered-by="481:1645;a"&gt;&lt;STRONG&gt;Based on the SQL query check we figured out the&amp;nbsp;avg_fragmentation_in_percent showing&amp;nbsp; 90%+ , which means the index is maintenance badly.&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;USE DBName;&lt;BR /&gt;GO&lt;BR /&gt;-- Find the average fragmentation percentage of all indexes&lt;BR /&gt;-- in the HumanResources.Employee table.&lt;BR /&gt;SELECT a.index_id, name, avg_fragmentation_in_percent&lt;BR /&gt;FROM sys.dm_db_index_physical_stats (DB_ID(N'DBName'),&lt;BR /&gt;OBJECT_ID(N'dbo.TableName'), NULL, NULL, NULL) AS a&lt;BR /&gt;JOIN sys.indexes AS b&lt;BR /&gt;ON a.object_id = b.object_id AND a.index_id = b.index_id;&lt;BR /&gt;GO&lt;/P&gt;
&lt;P data-aura-rendered-by="481:1645;a"&gt;==Detecting Fragmentation==&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The first step in deciding which defragmentation method to use is to analyze the index to determine the degree of fragmentation. By using the system function&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-index-physical-stats-transact-sql?view=sql-server-2017" target="_blank" rel="noopener" data-aura-rendered-by="481:1645;a"&gt;sys.dm_db_index_physical_stats&lt;/A&gt;&lt;SPAN&gt;, you can detect fragmentation in a specific index, all indexes on a table or indexed view, all indexes in a database, or all indexes in all databases. For partitioned indexes,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG data-aura-rendered-by="481:1645;a"&gt;sys.dm_db_index_physical_stats&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;also provides fragmentation information for each partition.&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="481:1645;a" /&gt;&lt;BR data-aura-rendered-by="481:1645;a" /&gt;&lt;SPAN&gt;The result set returned by the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG data-aura-rendered-by="481:1645;a"&gt;sys.dm_db_index_physical_stats&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;function includes the following columns.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE width="376px" data-aura-rendered-by="481:1645;a"&gt;&lt;COLGROUP&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH colspan="1" rowspan="1"&gt;Column&lt;/TH&gt;
&lt;TH colspan="1" rowspan="1"&gt;Description&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" rowspan="1"&gt;avg_fragmentation_in_percent&lt;/TD&gt;
&lt;TD colspan="1" rowspan="1"&gt;The percent of logical fragmentation (out-of-order pages in the index)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" rowspan="1"&gt;fragment_count&lt;/TD&gt;
&lt;TD colspan="1" rowspan="1"&gt;The number of fragments (physically consecutive leaf pages) in the index&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" rowspan="1"&gt;avg_fragment_size_in_pages&lt;/TD&gt;
&lt;TD colspan="1" rowspan="1"&gt;Average number of pages in one fragment in an index&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;H3 class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="query_example.png" style="width: 955px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171883iE5936A515C2B66DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="query_example.png" alt="query_example.png" /&gt;&lt;/span&gt;&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;DIV class="test-id__field-label-container slds-form-element__label" data-aura-rendered-by="514:1645;a"&gt;
&lt;DIV class="tooltip-trigger uiTooltip" tabindex="0" aria-describedby="tt-for-21516:0" data-aura-rendered-by="21519:0" data-aura-class="uiTooltip"&gt;&lt;SPAN&gt;After the degree of fragmentation is known, refer&amp;nbsp;to the table below to determine the most effective method to correct the fragmentation.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="tooltip-trigger uiTooltip" tabindex="0" aria-describedby="tt-for-21516:0" data-aura-rendered-by="21519:0" data-aura-class="uiTooltip"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="slds-form-element__control slds-grid itemBody" data-aura-rendered-by="517:1645;a"&gt;
&lt;DIV class="slds-rich-text-editor__output uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge" dir="ltr" data-aura-rendered-by="509:1645;a" data-aura-class="uiOutputRichText forceOutputRichText forceKnowledgeOutputRichTextForKnowledge"&gt;
&lt;TABLE width="532px" data-aura-rendered-by="510:1645;a"&gt;&lt;COLGROUP&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH colspan="1" rowspan="1" width="253.562px"&gt;avg_fragmentation_in_percent value&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TH&gt;
&lt;TH colspan="1" rowspan="1" width="277.638px"&gt;Corrective statement&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" rowspan="1" width="253.562px"&gt;&amp;gt; 5% and &amp;lt; = 30%&lt;/TD&gt;
&lt;TD colspan="1" rowspan="1" width="277.638px"&gt;ALTER INDEX REORGANIZE&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" rowspan="1" width="253.562px"&gt;&amp;gt; 30%&lt;/TD&gt;
&lt;TD colspan="1" rowspan="1" width="277.638px"&gt;ALTER INDEX REBUILD WITH (ONLINE = ON)*&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P data-aura-rendered-by="510:1645;a"&gt;* Rebuilding an index can be executed online or offline. Reorganizing an index is always executed online. To achieve availability similar to the reorganize option, you should rebuild indexes online.&lt;BR /&gt;&lt;BR /&gt;These values provide a rough guideline for determining the point at which you should switch between ALTER INDEX REORGANIZE and ALTER INDEX REBUILD. However, the actual values may vary from case to case. It is important that you experiment to determine the best threshold for your environment. Very low levels of fragmentation (less than 5 percent) should not be addressed by either of these commands because the benefit from removing such a small amount of fragmentation is almost always vastly outweighed by the cost of reorganizing or rebuilding the index.&lt;BR /&gt;&lt;BR /&gt;In general, fragmentation on small indexes is often not controllable. The pages of small indexes are sometimes stored on mixed extents. Mixed extents are shared by up to eight objects, so the fragmentation in a small index might not be reduced after reorganizing or rebuilding the index.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Talend Data Integration" id="qlik_TalendDataIntegration"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;7.3.1, 8.0.1&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 19 Sep 2024 06:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Talend-Data-Integration-Task-execution-was-blocked/ta-p/2482192</guid>
      <dc:creator>wei_guo</dc:creator>
      <dc:date>2024-09-19T06:50:37Z</dc:date>
    </item>
  </channel>
</rss>

