{"id":28775,"date":"2017-01-06T07:00:17","date_gmt":"2017-01-06T14:00:17","guid":{"rendered":"https:\/\/virtual-dba.com\/?p=28775"},"modified":"2023-03-23T14:18:37","modified_gmt":"2023-03-23T21:18:37","slug":"informix-table-and-index-reorganization","status":"publish","type":"post","link":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/","title":{"rendered":"Informix Table and Index Reorganization"},"content":{"rendered":"<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-29275 size-medium\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization-300x200.jpg\" alt=\"informix-table-reorganization\" width=\"300\" height=\"200\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization-300x200.jpg 300w, https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization-768x512.jpg 768w, https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>Online Defragmentation<\/h3>\n<p>Do you have large tables that contain too many extents but haven&#8217;t been able to schedule a maintenance window to reorganize? With the release of Informix 11.70, IBM introduced a new defragmentation utility that lets you reorganize a table or index online while the table is in use.<\/p>\n<p>In a blog post that I wrote a couple of years ago, &#8220;<a href=\"http:\/\/www.xtivia.com\/informix-extents-sizing-performance\/\" target=\"_blank\" rel=\"noopener\">Informix Extents: Sizing and Performance<\/a>&#8220;, I explained the importance of managing the number of extents allocated to tables and indexes. Prior to Informix 11.70, reorganizing a table required exclusive access and meant a disruption to service. This often results in tables getting out of hand because there is no convenient time to reorganize. There is now a sysadmin function that allows you to defragment a table or index in the same way you might defrag a disk in Windows.<\/p>\n<p><img decoding=\"async\" class=\"alignleft\" src=\"https:\/\/virtual-dba.com\/media\/informix-table-index.jpg\" alt=\"Informix Table and Index\"><\/p>\n<p>You can use the following query to determine the number of extents for your tables and indexes:<\/p>\n<pre><code>database sysmaster;\n\nselect  dbsname,\n        tabname,\n        count(*) num_of_extents,\n        sum( pe_size ) total_size\nfrom systabnames, sysptnext\nwhere partnum = pe_partnum\ngroup by 1, 2\norder by 3 desc, 4 desc;<\/code><\/pre>\n<p>Alternatively, to see the fragments for a given table, you can run oncheck \u2013pt database:table, as shown below.<\/p>\n<p><strong>Prior to defragment:<\/strong><\/p>\n<pre><code>informix@Linux02:~\/xtivia-dir\/bjs$ oncheck -pt bjsdb:data\n\nTBLspace Report for bjsdb:informix.data\n\n    Physical Address               4:7457\n    Creation date                  01\/13\/2016 15:56:21\n    TBLspace Flags                 802        Row Locking\n                                              TBLspace use 4 bit bit-maps\n    Maximum row size               125\n    Number of special columns      0\n    Number of keys                 0\n    Number of extents              8\n    Current serial value           48469\n    Current SERIAL8 value          1\n    Current BIGSERIAL value        1\n    Current REFID value            1\n    Pagesize (k)                   2\n    First extent size              8\n    Next extent size               512\n    Number of pages allocated      3584\n    Number of pages used           3233\n    Number of data pages           3232\n    Number of rows                 48468\n    Partition partnum              4194461\n    Partition lockid               4194461\n\n    Extents\n         Logical Page     Physical Page        Size Physical Pages\n                    0            4:9040          32         32\n                   32            4:9076          32         32\n                   64            4:9116         192        192\n                  256            4:9324         128        128\n                  384            4:9484         256        256\n                  640            4:9804         768        768\n                 1408           4:10700        1408       1408\n                 2816           4:12236         768        768\n\n                  Index  100_1 fragment partition datadbs1 in DBspace datadbs1\n\n    Physical Address               4:7458\n    Creation date                  01\/13\/2016 15:56:21\n    TBLspace Flags                 802        Row Locking\n                                              TBLspace use 4 bit bit-maps\n    Maximum row size               125\n    Number of special columns      0\n    Number of keys                 1\n    Number of extents              8\n    Current serial value           1\n    Current SERIAL8 value          1\n    Current BIGSERIAL value        1\n    Current REFID value            1\n    Pagesize (k)                   2\n    First extent size              4\n    Next extent size               128\n    Number of pages allocated      384\n    Number of pages used           320\n    Number of data pages           0\n    Number of rows                 0\n    Partition partnum              4194462\n    Partition lockid               4194461\n\n    Extents\n         Logical Page     Physical Page        Size Physical Pages\n                    0            4:9036           4          4\n                    4            4:9072           4          4\n                    8            4:9108           8          8\n                   16            4:9308          16         16\n                   32            4:9452          32         32\n                   64            4:9740          64         64\n                  128           4:10572         128        128\n                  256           4:12108         128        128<\/code><\/pre>\n<p>A good starting place for reorganization would be any object with 50 or more extents. To defragment the table, you can run &#8220;execute function task&#8221; in the sysadmin database, specifying &#8220;defragment&#8221; with the database and table name or the partition number. For example, to defragment the data table in the bjsdb database, you would type the following:<\/p>\n<p>execute function task(&#8220;defragment&#8221;,&#8221;bjsdb:informix.data&#8221;);<\/p>\n<p>The results of the defragment can be seen in the next output from oncheck.<\/p>\n<p><strong>After table defragment:<\/strong><\/p>\n<pre><code>informix@Linux02:~\/xtivia-dir\/bjs$ oncheck -pt bjsdb:data\n\nTBLspace Report for bjsdb:informix.data\n\n    Physical Address               4:7457\n    Creation date                  01\/13\/2016 15:56:21\n    TBLspace Flags                 802        Row Locking\n                                              TBLspace use 4 bit bit-maps\n    Maximum row size               125\n    Number of special columns      0\n    Number of keys                 0\n    Number of extents              1\n    Current serial value           48469\n    Current SERIAL8 value          1\n    Current BIGSERIAL value        1\n    Current REFID value            1\n    Pagesize (k)                   2\n    First extent size              8\n    Next extent size               512\n    Number of pages allocated      3584\n    Number of pages used           3233\n    Number of data pages           3232\n    Number of rows                 48468\n    Partition partnum              4194461\n    Partition lockid               4194461\n\n    Extents\n         Logical Page     Physical Page        Size Physical Pages\n                    0           4:13004        3584       3584\n\n         Index  100_1 fragment partition datadbs1 in DBspace datadbs1\n\n    Physical Address               4:7458\n    Creation date                  01\/13\/2016 15:56:21\n    TBLspace Flags                 802        Row Locking\n                                              TBLspace use 4 bit bit-maps\n    Maximum row size               125\n    Number of special columns      0\n    Number of keys                 1\n    Number of extents              8\n    Current serial value           1\n    Current SERIAL8 value          1\n    Current BIGSERIAL value        1\n    Current REFID value            1\n    Pagesize (k)                   2\n    First extent size              4\n    Next extent size               128\n    Number of pages allocated      384\n    Number of pages used           320\n    Number of data pages           0\n    Number of rows                 0\n    Partition partnum              4194462\n    Partition lockid               4194461\n\n    Extents\n         Logical Page     Physical Page        Size Physical Pages\n                    0            4:9036           4          4\n                    4            4:9072           4          4\n                    8            4:9108           8          8\n                   16            4:9308          16         16\n                   32            4:9452          32         32\n                   64            4:9740          64         64\n                  128           4:10572         128        128\n                  256           4:12108         128        128<\/code><\/pre>\n<p>In order to defragment an index using this function, you need to use the index name or partition number, which can be found in the &#8220;oncheck \u2013pt&#8221; output above.<\/p>\n<p>execute function task(&#8220;defragment partnum&#8221;,&#8221;4194462&#8243;);<\/p>\n<p><strong>After index defragment:<\/strong><\/p>\n<pre><code>informix@Linux02:~\/xtivia-dir\/bjs$ oncheck -pt bjsdb:data\n\nTBLspace Report for bjsdb:informix.data\n\n    Physical Address               4:7457\n    Creation date                  01\/13\/2016 15:56:21\n    TBLspace Flags                 802        Row Locking\n                                              TBLspace use 4 bit bit-maps\n    Maximum row size               125\n    Number of special columns      0\n    Number of keys                 0\n    Number of extents              1\n    Current serial value           48469\n    Current SERIAL8 value          1\n    Current BIGSERIAL value        1\n    Current REFID value            1\n    Pagesize (k)                   2\n    First extent size              8\n    Next extent size               512\n    Number of pages allocated      3584\n    Number of pages used           3233\n    Number of data pages           3232\n    Number of rows                 48468\n    Partition partnum              4194461\n    Partition lockid               4194461\n\n    Extents\n         Logical Page     Physical Page        Size Physical Pages\n                    0           4:13004        3584       3584\n\n         Index  100_1 fragment partition datadbs1 in DBspace datadbs1\n\n    Physical Address               4:7458\n    Creation date                  01\/13\/2016 15:56:21\n    TBLspace Flags                 802        Row Locking\n                                              TBLspace use 4 bit bit-maps\n    Maximum row size               125\n    Number of special columns      0\n    Number of keys                 1\n    Number of extents              1\n    Current serial value           1\n    Current SERIAL8 value          1\n    Current BIGSERIAL value        1\n    Current REFID value            1\n    Pagesize (k)                   2\n    First extent size              4\n    Next extent size               128\n    Number of pages allocated      384\n    Number of pages used           320\n    Number of data pages           0\n    Number of rows                 0\n    Partition partnum              4194462\n    Partition lockid               4194461\n\n    Extents\n         Logical Page     Physical Page        Size Physical Pages\n                    0            4:9804         384        384<\/code><\/pre>\n<p>The &#8220;execute function&#8221; commands can be put in a sql file and then run from the command line, or typed directly into dbaccess. I recommend the former as it could take some time to execute against a large table.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<p>vi defrag_data.sql:<br \/>\nexecute function task(&#8220;defragment&#8221;,&#8221;bjsdb:informix.data&#8221;);<\/p>\n<p>Then to run the command in background:<br \/>\ndbaccess sysadmin defrag_data &gt; defrag.out 2&gt;&amp;1 &amp;<\/p>\n<p>You can watch the progress of the defragment statement by running &#8220;onstat \u2013g defragment&#8221; from the command line. You will need to run update statistics against the table after defragmentation to update distributions for the optimizer.<\/p>\n<p>I have found this function to be very useful in defragmenting tables that otherwise could not be reorganized without a maintenance window. It can also be scheduled to run automatically using the Informix scheduler, but that&#8217;s a topic for another blog post. Stay tuned!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Online Defragmentation Do you have large tables that contain too many extents but haven&#8217;t been able to schedule a maintenance window to reorganize? With the release of Informix 11.70, IBM introduced a new defragmentation utility that lets you reorganize a table or index online while the table is in use. In a blog post that [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"<h3><img class=\"alignleft size-medium wp-image-29275\" src=\"https:\/\/virtual-dba.com\/media\/informix-table-index-reorganization-300x200.jpg\" alt=\"informix-table-reorganization\" width=\"300\" height=\"200\" \/>Online Defragmentation<\/h3>\r\nDo you have large tables that contain too many extents but haven't been able to schedule a maintenance window to reorganize? With the release of Informix 11.70, IBM introduced a new defragmentation utility that lets you reorganize a table or index online while the table is in use.\r\n\r\nIn a blog post that I wrote a couple of years ago, \"<a href=\"http:\/\/www.xtivia.com\/informix-extents-sizing-performance\/\" target=\"_blank\">Informix Extents: Sizing and Performance<\/a>\", I explained the importance of managing the number of extents allocated to tables and indexes. Prior to Informix 11.70, reorganizing a table required exclusive access and meant a disruption to service. This often results in tables getting out of hand because there is no convenient time to reorganize. There is now a sysadmin function that allows you to defragment a table or index in the same way you might defrag a disk in Windows.\r\n\r\n\u00a0\r\n\r\n<img class=\"alignleft\" src=\"https:\/\/virtual-dba.com\/media\/informix-table-index.jpg\" alt=\"Informix Table and Index\" \/>\r\n\r\nYou can use the following query to determine the number of extents for your tables and indexes:\r\n<pre><code>database sysmaster;\r\n\r\nselect  dbsname,\r\n        tabname,\r\n        count(*) num_of_extents,\r\n        sum( pe_size ) total_size\r\nfrom systabnames, sysptnext\r\nwhere partnum = pe_partnum\r\ngroup by 1, 2\r\norder by 3 desc, 4 desc;<\/code><\/pre>\r\n\u00a0\r\n\r\nAlternatively, to see the fragments for a given table, you can run oncheck \u2013pt database:table, as shown below.\r\n\r\n<strong>Prior to defragment:<\/strong>\r\n<pre><code>informix@Linux02:~\/xtivia-dir\/bjs$ oncheck -pt bjsdb:data\r\n\r\nTBLspace Report for bjsdb:informix.data\r\n\r\n    Physical Address               4:7457\r\n    Creation date                  01\/13\/2016 15:56:21\r\n    TBLspace Flags                 802        Row Locking\r\n                                              TBLspace use 4 bit bit-maps\r\n    Maximum row size               125\r\n    Number of special columns      0\r\n    Number of keys                 0\r\n    Number of extents              8\r\n    Current serial value           48469\r\n    Current SERIAL8 value          1\r\n    Current BIGSERIAL value        1\r\n    Current REFID value            1\r\n    Pagesize (k)                   2\r\n    First extent size              8\r\n    Next extent size               512\r\n    Number of pages allocated      3584\r\n    Number of pages used           3233\r\n    Number of data pages           3232\r\n    Number of rows                 48468\r\n    Partition partnum              4194461\r\n    Partition lockid               4194461\r\n\r\n    Extents\r\n         Logical Page     Physical Page        Size Physical Pages\r\n                    0            4:9040          32         32\r\n                   32            4:9076          32         32\r\n                   64            4:9116         192        192\r\n                  256            4:9324         128        128\r\n                  384            4:9484         256        256\r\n                  640            4:9804         768        768\r\n                 1408           4:10700        1408       1408\r\n                 2816           4:12236         768        768\r\n\r\n                  Index  100_1 fragment partition datadbs1 in DBspace datadbs1\r\n\r\n    Physical Address               4:7458\r\n    Creation date                  01\/13\/2016 15:56:21\r\n    TBLspace Flags                 802        Row Locking\r\n                                              TBLspace use 4 bit bit-maps\r\n    Maximum row size               125\r\n    Number of special columns      0\r\n    Number of keys                 1\r\n    Number of extents              8\r\n    Current serial value           1\r\n    Current SERIAL8 value          1\r\n    Current BIGSERIAL value        1\r\n    Current REFID value            1\r\n    Pagesize (k)                   2\r\n    First extent size              4\r\n    Next extent size               128\r\n    Number of pages allocated      384\r\n    Number of pages used           320\r\n    Number of data pages           0\r\n    Number of rows                 0\r\n    Partition partnum              4194462\r\n    Partition lockid               4194461\r\n\r\n    Extents\r\n         Logical Page     Physical Page        Size Physical Pages\r\n                    0            4:9036           4          4\r\n                    4            4:9072           4          4\r\n                    8            4:9108           8          8\r\n                   16            4:9308          16         16\r\n                   32            4:9452          32         32\r\n                   64            4:9740          64         64\r\n                  128           4:10572         128        128\r\n                  256           4:12108         128        128<\/code><\/pre>\r\n\u00a0\r\n\r\nA good starting place for reorganization would be any object with 50 or more extents. To defragment the table, you can run \"execute function task\" in the sysadmin database, specifying \"defragment\" with the database and table name or the partition number. For example, to defragment the data table in the bjsdb database, you would type the following:\r\n\r\nexecute function task(\"defragment\",\"bjsdb:informix.data\");\r\n\r\nThe results of the defragment can be seen in the next output from oncheck.\r\n\r\n<strong>After table defragment:<\/strong>\r\n<pre><code>informix@Linux02:~\/xtivia-dir\/bjs$ oncheck -pt bjsdb:data\r\n\r\nTBLspace Report for bjsdb:informix.data\r\n\r\n    Physical Address               4:7457\r\n    Creation date                  01\/13\/2016 15:56:21\r\n    TBLspace Flags                 802        Row Locking\r\n                                              TBLspace use 4 bit bit-maps\r\n    Maximum row size               125\r\n    Number of special columns      0\r\n    Number of keys                 0\r\n    Number of extents              1\r\n    Current serial value           48469\r\n    Current SERIAL8 value          1\r\n    Current BIGSERIAL value        1\r\n    Current REFID value            1\r\n    Pagesize (k)                   2\r\n    First extent size              8\r\n    Next extent size               512\r\n    Number of pages allocated      3584\r\n    Number of pages used           3233\r\n    Number of data pages           3232\r\n    Number of rows                 48468\r\n    Partition partnum              4194461\r\n    Partition lockid               4194461\r\n\r\n    Extents\r\n         Logical Page     Physical Page        Size Physical Pages\r\n                    0           4:13004        3584       3584\r\n\r\n         Index  100_1 fragment partition datadbs1 in DBspace datadbs1\r\n\r\n    Physical Address               4:7458\r\n    Creation date                  01\/13\/2016 15:56:21\r\n    TBLspace Flags                 802        Row Locking\r\n                                              TBLspace use 4 bit bit-maps\r\n    Maximum row size               125\r\n    Number of special columns      0\r\n    Number of keys                 1\r\n    Number of extents              8\r\n    Current serial value           1\r\n    Current SERIAL8 value          1\r\n    Current BIGSERIAL value        1\r\n    Current REFID value            1\r\n    Pagesize (k)                   2\r\n    First extent size              4\r\n    Next extent size               128\r\n    Number of pages allocated      384\r\n    Number of pages used           320\r\n    Number of data pages           0\r\n    Number of rows                 0\r\n    Partition partnum              4194462\r\n    Partition lockid               4194461\r\n\r\n    Extents\r\n         Logical Page     Physical Page        Size Physical Pages\r\n                    0            4:9036           4          4\r\n                    4            4:9072           4          4\r\n                    8            4:9108           8          8\r\n                   16            4:9308          16         16\r\n                   32            4:9452          32         32\r\n                   64            4:9740          64         64\r\n                  128           4:10572         128        128\r\n                  256           4:12108         128        128<\/code><\/pre>\r\n\u00a0\r\n\r\nIn order to defragment an index using this function, you need to use the index name or partition number, which can be found in the \"oncheck \u2013pt\" output above.\r\n\r\nexecute function task(\"defragment partnum\",\"4194462\");\r\n\r\n<strong>After index defragment:<\/strong>\r\n<pre><code>informix@Linux02:~\/xtivia-dir\/bjs$ oncheck -pt bjsdb:data\r\n\r\nTBLspace Report for bjsdb:informix.data\r\n\r\n    Physical Address               4:7457\r\n    Creation date                  01\/13\/2016 15:56:21\r\n    TBLspace Flags                 802        Row Locking\r\n                                              TBLspace use 4 bit bit-maps\r\n    Maximum row size               125\r\n    Number of special columns      0\r\n    Number of keys                 0\r\n    Number of extents              1\r\n    Current serial value           48469\r\n    Current SERIAL8 value          1\r\n    Current BIGSERIAL value        1\r\n    Current REFID value            1\r\n    Pagesize (k)                   2\r\n    First extent size              8\r\n    Next extent size               512\r\n    Number of pages allocated      3584\r\n    Number of pages used           3233\r\n    Number of data pages           3232\r\n    Number of rows                 48468\r\n    Partition partnum              4194461\r\n    Partition lockid               4194461\r\n\r\n    Extents\r\n         Logical Page     Physical Page        Size Physical Pages\r\n                    0           4:13004        3584       3584\r\n\r\n         Index  100_1 fragment partition datadbs1 in DBspace datadbs1\r\n\r\n    Physical Address               4:7458\r\n    Creation date                  01\/13\/2016 15:56:21\r\n    TBLspace Flags                 802        Row Locking\r\n                                              TBLspace use 4 bit bit-maps\r\n    Maximum row size               125\r\n    Number of special columns      0\r\n    Number of keys                 1\r\n    Number of extents              1\r\n    Current serial value           1\r\n    Current SERIAL8 value          1\r\n    Current BIGSERIAL value        1\r\n    Current REFID value            1\r\n    Pagesize (k)                   2\r\n    First extent size              4\r\n    Next extent size               128\r\n    Number of pages allocated      384\r\n    Number of pages used           320\r\n    Number of data pages           0\r\n    Number of rows                 0\r\n    Partition partnum              4194462\r\n    Partition lockid               4194461\r\n\r\n    Extents\r\n         Logical Page     Physical Page        Size Physical Pages\r\n                    0            4:9804         384        384<\/code><\/pre>\r\n\u00a0\r\n\r\nThe \"execute function\" commands can be put in a sql file and then run from the command line, or typed directly into dbaccess. I recommend the former as it could take some time to execute against a large table.\r\n\r\n<strong>Example:<\/strong>\r\n\r\nvi defrag_data.sql:\r\nexecute function task(\"defragment\",\"bjsdb:informix.data\");\r\n\r\nThen to run the command in background:\r\ndbaccess sysadmin defrag_data > defrag.out 2>&1 &\r\n\r\nYou can watch the progress of the defragment statement by running \"onstat \u2013g defragment\" from the command line. You will need to run update statistics against the table after defragmentation to update distributions for the optimizer.\r\n\r\nI have found this function to be very useful in defragmenting tables that otherwise could not be reorganized without a maintenance window. It can also be scheduled to run automatically using the Informix scheduler, but that's a topic for another blog post. Stay tuned!","_et_gb_content_width":"","content-type":"","footnotes":""},"categories":[4166,26],"tags":[19,742,27,741],"class_list":["post-28775","post","type-post","status-publish","format-standard","hentry","category-blog","category-informix","tag-ibm","tag-index-reorganization","tag-informix","tag-table-reorganization"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.1 (Yoast SEO v27.1.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Optimize Your Informix Database With Table and Index Reorganization<\/title>\n<meta name=\"description\" content=\"Learn how to optimize your Informix database with table and index reorganization from IBM Informix DBA expert Barrie Shaw of the Virtual-DBA team.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Informix Table and Index Reorganization\" \/>\n<meta property=\"og:description\" content=\"Learn how to optimize your Informix database with table and index reorganization from IBM Informix DBA expert Barrie Shaw of the Virtual-DBA team.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-06T14:00:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-23T21:18:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization-300x200.jpg\" \/>\n<meta name=\"author\" content=\"Barrie Shaw\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:site\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Barrie Shaw\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/\"},\"author\":{\"name\":\"Barrie Shaw\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/ed9d01c13328abe5c8d592de491897f2\"},\"headline\":\"Informix Table and Index Reorganization\",\"datePublished\":\"2017-01-06T14:00:17+00:00\",\"dateModified\":\"2023-03-23T21:18:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/\"},\"wordCount\":450,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization-300x200.jpg\",\"keywords\":[\"ibm\",\"index reorganization\",\"informix\",\"table reorganization\"],\"articleSection\":[\"Blog\",\"Informix\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/\",\"url\":\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/\",\"name\":\"Optimize Your Informix Database With Table and Index Reorganization\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization-300x200.jpg\",\"datePublished\":\"2017-01-06T14:00:17+00:00\",\"dateModified\":\"2023-03-23T21:18:37+00:00\",\"description\":\"Learn how to optimize your Informix database with table and index reorganization from IBM Informix DBA expert Barrie Shaw of the Virtual-DBA team.\",\"breadcrumb\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#primaryimage\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization.jpg\",\"width\":1000,\"height\":667,\"caption\":\"informix-table-reorganization\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtual-dba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Informix Table and Index Reorganization\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/virtual-dba.com\/#website\",\"url\":\"https:\/\/virtual-dba.com\/\",\"name\":\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\",\"description\":\"Remote Database Administration\",\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/virtual-dba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/virtual-dba.com\/#organization\",\"name\":\"Virtual-DBA: Remote DBA | Remote Database Administration\",\"alternateName\":\"Virtual-DBA powered by XTIVIA\",\"url\":\"https:\/\/virtual-dba.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"width\":557,\"height\":291,\"caption\":\"Virtual-DBA: Remote DBA | Remote Database Administration\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/virtual_dba\",\"https:\/\/www.linkedin.com\/showcase\/36220649\/\",\"https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg\"],\"description\":\"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.\",\"email\":\"info@xtivia.com\",\"telephone\":\"8886853101\",\"legalName\":\"XTIVIA, Inc\",\"foundingDate\":\"1992-05-01\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"201\",\"maxValue\":\"500\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/ed9d01c13328abe5c8d592de491897f2\",\"name\":\"Barrie Shaw\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/67ca46b3163f93cccc1cec5b3625baf08e7aa4b64dc1c63171860bd8d0942e8f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/67ca46b3163f93cccc1cec5b3625baf08e7aa4b64dc1c63171860bd8d0942e8f?s=96&d=mm&r=g\",\"caption\":\"Barrie Shaw\"},\"description\":\"Barrie is an IBM Informix Certified System Administrator and former IBM Gold Consultant with over twenty years of experience using Informix software, including database administration, systems administration, application development and support. She is the Informix lead DBA and Delivery Manager for XTIVIA\u2019s remote database administration service, providing support for a wide array of clients.\",\"sameAs\":[\"https:\/\/virtual-dba.com\"],\"url\":\"https:\/\/virtual-dba.com\/author\/barrie\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Optimize Your Informix Database With Table and Index Reorganization","description":"Learn how to optimize your Informix database with table and index reorganization from IBM Informix DBA expert Barrie Shaw of the Virtual-DBA team.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/","og_locale":"en_US","og_type":"article","og_title":"Informix Table and Index Reorganization","og_description":"Learn how to optimize your Informix database with table and index reorganization from IBM Informix DBA expert Barrie Shaw of the Virtual-DBA team.","og_url":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/","og_site_name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","article_published_time":"2017-01-06T14:00:17+00:00","article_modified_time":"2023-03-23T21:18:37+00:00","og_image":[{"url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization-300x200.jpg","type":"","width":"","height":""}],"author":"Barrie Shaw","twitter_card":"summary_large_image","twitter_creator":"@virtual_dba","twitter_site":"@virtual_dba","twitter_misc":{"Written by":"Barrie Shaw","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#article","isPartOf":{"@id":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/"},"author":{"name":"Barrie Shaw","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/ed9d01c13328abe5c8d592de491897f2"},"headline":"Informix Table and Index Reorganization","datePublished":"2017-01-06T14:00:17+00:00","dateModified":"2023-03-23T21:18:37+00:00","mainEntityOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/"},"wordCount":450,"commentCount":2,"publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization-300x200.jpg","keywords":["ibm","index reorganization","informix","table reorganization"],"articleSection":["Blog","Informix"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/","url":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/","name":"Optimize Your Informix Database With Table and Index Reorganization","isPartOf":{"@id":"https:\/\/virtual-dba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#primaryimage"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization-300x200.jpg","datePublished":"2017-01-06T14:00:17+00:00","dateModified":"2023-03-23T21:18:37+00:00","description":"Learn how to optimize your Informix database with table and index reorganization from IBM Informix DBA expert Barrie Shaw of the Virtual-DBA team.","breadcrumb":{"@id":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#primaryimage","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/informix-table-index-reorganization.jpg","width":1000,"height":667,"caption":"informix-table-reorganization"},{"@type":"BreadcrumbList","@id":"https:\/\/virtual-dba.com\/blog\/informix-table-and-index-reorganization\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtual-dba.com\/"},{"@type":"ListItem","position":2,"name":"Informix Table and Index Reorganization"}]},{"@type":"WebSite","@id":"https:\/\/virtual-dba.com\/#website","url":"https:\/\/virtual-dba.com\/","name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","description":"Remote Database Administration","publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/virtual-dba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/virtual-dba.com\/#organization","name":"Virtual-DBA: Remote DBA | Remote Database Administration","alternateName":"Virtual-DBA powered by XTIVIA","url":"https:\/\/virtual-dba.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","width":557,"height":291,"caption":"Virtual-DBA: Remote DBA | Remote Database Administration"},"image":{"@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/virtual_dba","https:\/\/www.linkedin.com\/showcase\/36220649\/","https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg"],"description":"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.","email":"info@xtivia.com","telephone":"8886853101","legalName":"XTIVIA, Inc","foundingDate":"1992-05-01","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"201","maxValue":"500"}},{"@type":"Person","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/ed9d01c13328abe5c8d592de491897f2","name":"Barrie Shaw","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/67ca46b3163f93cccc1cec5b3625baf08e7aa4b64dc1c63171860bd8d0942e8f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/67ca46b3163f93cccc1cec5b3625baf08e7aa4b64dc1c63171860bd8d0942e8f?s=96&d=mm&r=g","caption":"Barrie Shaw"},"description":"Barrie is an IBM Informix Certified System Administrator and former IBM Gold Consultant with over twenty years of experience using Informix software, including database administration, systems administration, application development and support. She is the Informix lead DBA and Delivery Manager for XTIVIA\u2019s remote database administration service, providing support for a wide array of clients.","sameAs":["https:\/\/virtual-dba.com"],"url":"https:\/\/virtual-dba.com\/author\/barrie\/"}]}},"_links":{"self":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/28775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/comments?post=28775"}],"version-history":[{"count":0,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/28775\/revisions"}],"wp:attachment":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media?parent=28775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/categories?post=28775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/tags?post=28775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}