{"id":2067,"date":"2016-12-14T13:42:50","date_gmt":"2016-12-14T20:42:50","guid":{"rendered":"https:\/\/virtual-dba.com\/?p=1857"},"modified":"2023-03-24T08:45:32","modified_gmt":"2023-03-24T15:45:32","slug":"db2-row-size","status":"publish","type":"post","link":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/","title":{"rendered":"Db2 Table Row (Tuple) Size"},"content":{"rendered":"<p>The row size for a table in Db2 is important in several ways. It determines which page size can be used for a tablespace, and it can help us estimate table size &#8211; either optimal or future.<\/p>\n<h2>Selecting a Page Size<\/h2>\n<p>Db2 page sizes are adjustable only for tablespace and buffer pool data &#8211; Db2 uses 4K pages for all other memory configuration parameters, no matter what other page sizes are used for the actual data. Defining a page size on database creation will change the page size for the three default tablespaces &#8211; SYSCATSPACE, TEMPSPACE1, and USERSPACE1.<\/p>\n<p>Page sizes are chosen at object creation time and cannot be changed after creation. For this reason, a thoughtful selection of page sizes is important. After table creation, a table can be moved from one tablespace to another to change page size, but even with the wonderful ADMIN_MOVE_TABLE tool, this is not without challenges and risks.<\/p>\n<p>Choosing the page sizes for Db2 to use in a database is a question based in performance and geometry. For data warehousing and analytics environments, the right page size is nearly always 32 KB. For OLTP or transaction-focused databases, it is worth testing performance on different page sizes to see what page size works best in a specific environment. Depending on the storage subsystem, the minimum size of data that is handled by the I\/O subsystem may be larger than your page size. The page size also affects how data is handled once it is in memory. Handling data in memory is still an operation that consumes CPU time and, of course, memory. For a database that is not I\/O bound, this is an important consideration.<\/p>\n<p>The maximum possible row size should fit on the page size chosen. This used to be required but is now an option. The technical implementation behind extended row size almost guarantees that you will see better performance if a row fits on a page than if extended row size is actually being used. There are more details to consider when choosing a page size &#8211; see <a href=\"http:\/\/db2commerce.com\/2016\/03\/01\/calculating-row-width-and-choosing-a-page-size-in-db2\/\">Calculating Row Width and Choosing a Page Size<\/a> for more details.<\/p>\n<h2>Estimating Table Size<\/h2>\n<p>One of the most important reasons for looking at row size is to estimate future data size for capacity planning purposes. We can estimate table size based on either the maximum possible row size, the average current row size, or a combination of both. Table size estimation is important when making data pruning decisions and also when making decisions about things like data partitioning and what other kinds of partitioning may be appropriate to manage maintenance and performance over time.<\/p>\n<h2>Calculating Table Row Size<\/h2>\n<h3>Types of Row Size<\/h3>\n<p>Many tables in any RDBMS include varying-length data types. These data types consume only the amount of space needed on disk, and include a defined maximum possible size. This leads to different ways of understanding row size, depending on whether you&#8217;re looking at the definition or the reality of the data. Row sizes are generally expressed in bytes.<\/p>\n<h4>Maximum Possible Row Size<\/h4>\n<p>Calculate the maximum possible row size by understanding how much space the data type in each column can use, and adding values for the columns together. It is rare that every single variable length column in a table is populated to the maximum possible size. Usually lengths for each column mostly hover around a common number, with some outliers. Often, developers tend to choose values that allow for the maximum imaginable size, and then add some space, not realizing how easy it is in Db2 to increase the size of a column. If there are no varying length columns in a table, then the values calculated here are the actual sizes, not the maximums.<\/p>\n<h4>Average Row Size<\/h4>\n<p>Calculate the average row size by looking at the current data in all the columns and describing what the row looks like in reality. Unless there are no varying-length data types, the average row size is always less than the maximum possible row size.<\/p>\n<h3>Before Table Exists<\/h3>\n<p>Before the table exists, calculating the maximum possible row size can be done through a manual process detailed in <a href=\"http:\/\/db2commerce.com\/2016\/03\/01\/calculating-row-width-and-choosing-a-page-size-in-db2\/\">Calculating Row Width and Choosing a Page Size<\/a>. This can be labor intensive, but is important in capacity planning. Don&#8217;t forget to do a similar process to calculate space for indexes. Indexes are physical objects that consume space and are often counted as a part of the table size.<\/p>\n<h3>For an Existing Table<\/h3>\n<p>For an existing Db2 table, the system catalog views hold information to calculate both the maximum and the average row size.<\/p>\n<h4>Maximum Possible Row Size<\/h4>\n<p>The best option is to create <a href=\"https:\/\/www.ibm.com\/developerworks\/community\/blogs\/SQLTips4Db2LUW\/entry\/getrowsize?lang=en\">this stored procedure, developed by Serge Rileau<\/a>.<\/p>\n<p>In some databases, our clients don&#8217;t want us to create objects, so this SQL does the same work:<\/p>\n<pre><code>with compr as (\n  select \n    TABSCHEMA\n    , TABNAME\n    , CASE WHEN compression in ('B', 'V') THEN 2 ELSE 0 END as compression_mod\n    FROM SYSCAT.TABLES AS T1\n),\ncol as (\n  SELECT TABSCHEMA\n         , TABNAME\n         , COLNAME\n\t ,COALESCE(D.SOURCENAME, C.TYPENAME) AS TYPENAME \n         ,COALESCE(D.LENGTH, C.LENGTH) AS LENGTH\n         ,C.SCALE, C.NULLS, C.INLINE_LENGTH, D.METATYPE\n         ,D.INLINE_LENGTH AS STRUCT_INLINE_LENGTH\n\t , CASE WHEN C.inline_length = 0 \n                    THEN C.inline_length\n                WHEN metatype = 'R' THEN D.inline_length \n                WHEN COALESCE(D.SOURCENAME, C.TYPENAME) IN ('CLOB', 'BLOB', 'DBCLOB') \n                    THEN CASE WHEN COALESCE(D.LENGTH, C.LENGTH) &amp;amp;amp;amp;lt;=       1024 THEN 68\n                              WHEN COALESCE(D.LENGTH, C.LENGTH) &amp;amp;amp;amp;lt;=       8192 THEN 92\n                              WHEN COALESCE(D.LENGTH, C.LENGTH) &amp;amp;amp;amp;lt;=      65536 THEN 116\t\t\t\t\t\t\t\t\t\t \n                              WHEN COALESCE(D.LENGTH, C.LENGTH) &amp;amp;amp;amp;lt;=     524000 THEN 140\n                              WHEN COALESCE(D.LENGTH, C.LENGTH) &amp;amp;amp;amp;lt;=    4190000 THEN 164\n                              WHEN COALESCE(D.LENGTH, C.LENGTH) &amp;amp;amp;amp;lt;=  134000000 THEN 196\n                              WHEN COALESCE(D.LENGTH, C.LENGTH) &amp;amp;amp;amp;lt;=  536000000 THEN 220\n                              WHEN COALESCE(D.LENGTH, C.LENGTH) &amp;amp;amp;amp;lt;= 1070000000 THEN 252\n                              WHEN COALESCE(D.LENGTH, C.LENGTH) &amp;amp;amp;amp;lt;= 1470000000 THEN 276\n                              WHEN COALESCE(D.LENGTH, C.LENGTH) &amp;amp;amp;amp;lt;= 2147483647 THEN 312\n                         ELSE -2 END\n                WHEN COALESCE(D.SOURCENAME, C.TYPENAME) IN ('LONG VARCHAR', 'LONG VARGRAPHIC')\n                           THEN 20\n                WHEN COALESCE(D.SOURCENAME, C.TYPENAME) = 'XML' THEN 80\n           ELSE 0 END as LOBLENGTH\n    FROM SYSCAT.COLUMNS AS C\n         LEFT OUTER JOIN SYSCAT.DATATYPES AS D\n              ON D.typeschema = C.typeschema \n              AND D.typename = C.typename\n              AND D.typemodulename IS NULL\n              AND C.typeschema  'SYSIBM  '\n),\ntot as (select  \n\tcol.TABSCHEMA as tabschema\n\t, col.TABNAME as tabname\n        ,SUM(CASE TYPENAME \n            WHEN 'SMALLINT'        THEN length + compression_mod\n            WHEN 'INTEGER'         THEN length + compression_mod\n            WHEN 'BIGINT'          THEN length + compression_mod\n            WHEN 'REAL'            THEN length + compression_mod\n            WHEN 'DOUBLE'          THEN length + compression_mod\n            WHEN 'DECFLOAT'        THEN length + compression_mod\n            WHEN 'DECIMAL'         THEN TRUNC(length \/ 2) + 1 + compression_mod\n            WHEN 'CHARACTER'       THEN length + compression_mod\n            WHEN 'VARCHAR'         THEN length + 4 - compression_mod\n            WHEN 'GRAPHIC'         THEN length * 2 + compression_mod\n            WHEN 'VARGRAPHIC'      THEN length * 2 + 4 - compression_mod\n            WHEN 'LONG VARCHAR'    THEN 24 - compression_mod\n            WHEN 'LONG VARGRAPHIC' THEN 24 - compression_mod\n            WHEN 'CLOB'            THEN loblength + 4 - compression_mod\n            WHEN 'BLOB'            THEN loblength + 4 - compression_mod\n            WHEN 'DBCLOB'          THEN loblength + 4 - compression_mod\n            WHEN 'XML'             THEN loblength + 3 - compression_mod\n            WHEN 'DATE'            THEN length + compression_mod\n            WHEN 'TIME'            THEN length + compression_mod\n            WHEN 'TIMESTAMP'       THEN length + compression_mod\n            ELSE CASE WHEN metatype = 'R' THEN loblength + 4 - compression_mod\n                     ELSE -3 END\n            END \n          + CASE WHEN compression_mod = 0 AND NULLS = 'Y' THEN 1 ELSE 0 END) as row_size\n\n  FROM compr join col on compr.tabname=col.tabname\n\t\tand compr.tabschema=col.tabschema\n  GROUP BY col.tabschema, col.tabname)\nselect rtrim(tot.tabschema) as tabschema\n       , rtrim(tot.tabname) as tabname\n       , row_size + CASE WHEN compr.compression_mod = 0 THEN 2 ELSE 0 END \n  FROM tot join compr on tot.tabschema=compr.tabschema and tot.tabname=compr.tabname;<\/code><\/pre>\n<p>Note that the logic here properly handles lobs &#8211; reporting them as a part of the rowsize only if they are inlined, otherwise only reporting the lob locator as a part of the row size.<\/p>\n<h4>Average Row Size<\/h4>\n<p>The average row size is stored as part of the statistics in syscat.tables. The AVGROWSIZE column holds this information. It is updated only when statistics are collected, so before relying on it, make sure that RUNSTATS has been done on the table recently.<\/p>\n<h4>Actual Table Size<\/h4>\n<p>If calculating the total size of an existing table as a whole, it is a better choice to use the number of pages allocated for the table than taking the row size and multiplying by the number of rows. Calculating using pages will account for overhead and other issues within the table. The total number of pages for a table is specified in the FPAGES column of SYSCAT.TABLES. You would still need to add the size of indexes to this value<\/p>\n<h2>Summary<\/h2>\n<p>Need more detailed help with table sizes, page size selection, or capacity planning? Fill in the contact form on the right, and an XTIVIA Db2 specialist can be engaged to help.<\/p>\n<p>For further information, be sure to read the <a href=\"https:\/\/virtual-dba.com\/11-neat-things-db2-11-1-linux-unix-windows\/\">exciting new things about Db2!<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The row size for a table in Db2 is important in several ways. It determines which page size can be used for a tablespace, and it can help us estimate table size &#8211; either optimal or future. Selecting a Page Size Db2 page sizes are adjustable only for tablespace and buffer pool data &#8211; Db2 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":241360,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","content-type":"","footnotes":""},"categories":[4166,17],"tags":[18],"class_list":["post-2067","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-db2","tag-db2"],"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>DB2 Table Row (Tuple) Size<\/title>\n<meta name=\"description\" content=\"Learn how to setup proper table row sizes in IBM DB2 from top DB2 database expert Ember Crooks of Virtual-DBA - IBM Premier Business Partner\" \/>\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\/db2-row-size\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Db2 Table Row (Tuple) Size\" \/>\n<meta property=\"og:description\" content=\"Learn how to setup proper table row sizes in IBM DB2 from top DB2 database expert Ember Crooks of Virtual-DBA - IBM Premier Business Partner\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-14T20:42:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-24T15:45:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/DB2-Table-Row-Tuple-Examination.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"565\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"XTIVIA\" \/>\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=\"XTIVIA\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/\"},\"author\":{\"name\":\"XTIVIA\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1\"},\"headline\":\"Db2 Table Row (Tuple) Size\",\"datePublished\":\"2016-12-14T20:42:50+00:00\",\"dateModified\":\"2023-03-24T15:45:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/\"},\"wordCount\":1025,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/DB2-Table-Row-Tuple-Examination.jpg\",\"keywords\":[\"db2\"],\"articleSection\":[\"Blog\",\"Db2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/\",\"url\":\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/\",\"name\":\"DB2 Table Row (Tuple) Size\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/DB2-Table-Row-Tuple-Examination.jpg\",\"datePublished\":\"2016-12-14T20:42:50+00:00\",\"dateModified\":\"2023-03-24T15:45:32+00:00\",\"description\":\"Learn how to setup proper table row sizes in IBM DB2 from top DB2 database expert Ember Crooks of Virtual-DBA - IBM Premier Business Partner\",\"breadcrumb\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#primaryimage\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/DB2-Table-Row-Tuple-Examination.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/DB2-Table-Row-Tuple-Examination.jpg\",\"width\":1000,\"height\":565},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtual-dba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Db2 Table Row (Tuple) Size\"}]},{\"@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\/2d86f74bed0c3f1b49100f7fdf7d78d1\",\"name\":\"XTIVIA\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g\",\"caption\":\"XTIVIA\"},\"url\":\"https:\/\/virtual-dba.com\/author\/xtivia\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"DB2 Table Row (Tuple) Size","description":"Learn how to setup proper table row sizes in IBM DB2 from top DB2 database expert Ember Crooks of Virtual-DBA - IBM Premier Business Partner","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\/db2-row-size\/","og_locale":"en_US","og_type":"article","og_title":"Db2 Table Row (Tuple) Size","og_description":"Learn how to setup proper table row sizes in IBM DB2 from top DB2 database expert Ember Crooks of Virtual-DBA - IBM Premier Business Partner","og_url":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/","og_site_name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","article_published_time":"2016-12-14T20:42:50+00:00","article_modified_time":"2023-03-24T15:45:32+00:00","og_image":[{"width":1000,"height":565,"url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/DB2-Table-Row-Tuple-Examination.jpg","type":"image\/jpeg"}],"author":"XTIVIA","twitter_card":"summary_large_image","twitter_creator":"@virtual_dba","twitter_site":"@virtual_dba","twitter_misc":{"Written by":"XTIVIA","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#article","isPartOf":{"@id":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/"},"author":{"name":"XTIVIA","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1"},"headline":"Db2 Table Row (Tuple) Size","datePublished":"2016-12-14T20:42:50+00:00","dateModified":"2023-03-24T15:45:32+00:00","mainEntityOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/"},"wordCount":1025,"commentCount":0,"publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/DB2-Table-Row-Tuple-Examination.jpg","keywords":["db2"],"articleSection":["Blog","Db2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/virtual-dba.com\/blog\/db2-row-size\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/","url":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/","name":"DB2 Table Row (Tuple) Size","isPartOf":{"@id":"https:\/\/virtual-dba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#primaryimage"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/DB2-Table-Row-Tuple-Examination.jpg","datePublished":"2016-12-14T20:42:50+00:00","dateModified":"2023-03-24T15:45:32+00:00","description":"Learn how to setup proper table row sizes in IBM DB2 from top DB2 database expert Ember Crooks of Virtual-DBA - IBM Premier Business Partner","breadcrumb":{"@id":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtual-dba.com\/blog\/db2-row-size\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#primaryimage","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/DB2-Table-Row-Tuple-Examination.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/DB2-Table-Row-Tuple-Examination.jpg","width":1000,"height":565},{"@type":"BreadcrumbList","@id":"https:\/\/virtual-dba.com\/blog\/db2-row-size\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtual-dba.com\/"},{"@type":"ListItem","position":2,"name":"Db2 Table Row (Tuple) Size"}]},{"@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\/2d86f74bed0c3f1b49100f7fdf7d78d1","name":"XTIVIA","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g","caption":"XTIVIA"},"url":"https:\/\/virtual-dba.com\/author\/xtivia\/"}]}},"_links":{"self":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/2067","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/comments?post=2067"}],"version-history":[{"count":0,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/2067\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media\/241360"}],"wp:attachment":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media?parent=2067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/categories?post=2067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/tags?post=2067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}