{"id":34625,"date":"2018-04-05T09:30:51","date_gmt":"2018-04-05T16:30:51","guid":{"rendered":"https:\/\/virtual-dba.com\/?p=34625"},"modified":"2021-02-10T18:20:00","modified_gmt":"2021-02-11T01:20:00","slug":"index-read-efficiency-db2","status":"publish","type":"post","link":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/","title":{"rendered":"Index Read Efficiency &#8211; A Key Performance Indicator for Db2"},"content":{"rendered":"<p>My top metric for analyzing database performance is index read efficiency. This metric essentially shows how well indexed a database is for the workload that runs against it. Index read efficiency is calculated by taking the rows read and dividing them by the rows returned. The value tells us, on average, how many rows Db2 had to read in order to return one row &#8211; essentially how well indexed this database is for the workload that runs against it. A poor index read efficiency is the number two predictor, after current runstats, of a database that is likely to have performance problems.<\/p>\n<h2>Calculating Index Read Efficiency<\/h2>\n<p>The values are available in a number of different places to allow you to calculate it at a number of different levels:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Index-Read-Efficiency-a-Key-Performance-Indicator-for-Db2-1.jpg\" alt=\"value locations\" width=\"1014\" height=\"556\" class=\"alignnone size-full wp-image-34630\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Index-Read-Efficiency-a-Key-Performance-Indicator-for-Db2-1.jpg 1014w, https:\/\/virtual-dba.com\/wp-content\/uploads\/Index-Read-Efficiency-a-Key-Performance-Indicator-for-Db2-1-300x164.jpg 300w, https:\/\/virtual-dba.com\/wp-content\/uploads\/Index-Read-Efficiency-a-Key-Performance-Indicator-for-Db2-1-768x421.jpg 768w\" sizes=\"(max-width: 1014px) 100vw, 1014px\" \/><\/p>\n<p>The general calculation at any of these levels is:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Index-Read-Efficiency-a-Key-Performance-Indicator-for-Db2-2.jpg\" alt=\"index read efficiency equation\" width=\"560\" height=\"71\" class=\"alignnone size-full wp-image-34631\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Index-Read-Efficiency-a-Key-Performance-Indicator-for-Db2-2.jpg 560w, https:\/\/virtual-dba.com\/wp-content\/uploads\/Index-Read-Efficiency-a-Key-Performance-Indicator-for-Db2-2-300x38.jpg 300w\" sizes=\"(max-width: 560px) 100vw, 560px\" \/><\/p>\n<p>Sometimes &#8220;Rows Returned&#8221; is referred to as &#8220;Rows Selected&#8221;, depending on the location.<\/p>\n<p>My favorite level to calculate it at is at the database level. Here is a query to calculate index read efficiency at the database level, since the last database activation:<\/p>\n<pre><code>select  case when rows_returned &gt; 0\n                then decimal(float(rows_read)\/float(rows_returned),10,5)\n                else -1\n        end as read_eff\nfrom table(mon_get_database(-2))\nwith ur;\nREAD_EFF\n------------------\n          65.79791\n  1 record(s) selected.\n<\/code><\/pre>\n<p>For OLTP or other transaction processing databases, we aim for an index read efficiency of 10 or less. Here is the general spectrum of values:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Index-Read-Efficiency-a-Key-Performance-Indicator-for-Db2-3.jpg\" alt=\"spectrum of values\" width=\"873\" height=\"560\" class=\"alignnone size-full wp-image-34632\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Index-Read-Efficiency-a-Key-Performance-Indicator-for-Db2-3.jpg 873w, https:\/\/virtual-dba.com\/wp-content\/uploads\/Index-Read-Efficiency-a-Key-Performance-Indicator-for-Db2-3-300x192.jpg 300w, https:\/\/virtual-dba.com\/wp-content\/uploads\/Index-Read-Efficiency-a-Key-Performance-Indicator-for-Db2-3-768x493.jpg 768w\" sizes=\"(max-width: 873px) 100vw, 873px\" \/><\/p>\n<h2>Improving Index Read Efficiency<\/h2>\n<p>The options to improve index read efficiency are much more complicated that calculating the value.Often a DBA will <a href=\"http:\/\/db2commerce.com\/2011\/11\/29\/identifying-problem-sql\/\">identify problematic SQL<\/a>. This is a good query against MON_GET_PKG_CACHE_STMT to use:<\/p>\n<pre><code>WITH SUM_TAB (SUM_RR, SUM_CPU, SUM_EXEC, SUM_SORT, SUM_NUM_EXEC) AS (\n        SELECT  FLOAT(SUM(ROWS_READ)),\n                FLOAT(SUM(TOTAL_CPU_TIME)),\n                FLOAT(SUM(STMT_EXEC_TIME)),\n                FLOAT(SUM(TOTAL_SECTION_SORT_TIME)),\n                FLOAT(SUM(NUM_EXECUTIONS))\n            FROM TABLE(MON_GET_PKG_CACHE_STMT ( 'D', NULL, NULL, -2)) AS T\n        )\nSELECT\n        SUBSTR(STMT_TEXT,1,10) as STATEMENT,\n        ROWS_READ,\n        DECIMAL(100*(FLOAT(ROWS_READ)\/SUM_TAB.SUM_RR),5,2) AS PCT_TOT_RR,\n        TOTAL_CPU_TIME,\n        DECIMAL(100*(FLOAT(TOTAL_CPU_TIME)\/SUM_TAB.SUM_CPU),5,2) AS PCT_TOT_CPU,\n        STMT_EXEC_TIME,\n        DECIMAL(100*(FLOAT(STMT_EXEC_TIME)\/SUM_TAB.SUM_EXEC),5,2) AS PCT_TOT_EXEC,\n        TOTAL_SECTION_SORT_TIME,\n        DECIMAL(100*(FLOAT(TOTAL_SECTION_SORT_TIME)\/SUM_TAB.SUM_SORT),5,2) AS PCT_TOT_SRT,\n        NUM_EXECUTIONS,\n        DECIMAL(100*(FLOAT(NUM_EXECUTIONS)\/SUM_TAB.SUM_NUM_EXEC),5,2) AS PCT_TOT_EXEC,\n        DECIMAL(FLOAT(STMT_EXEC_TIME)\/FLOAT(NUM_EXECUTIONS),10,2) AS AVG_EXEC_TIME\n    FROM TABLE(MON_GET_PKG_CACHE_STMT ( 'D', NULL, NULL, -2)) AS T, SUM_TAB\n    WHERE DECIMAL(100*(FLOAT(ROWS_READ)\/SUM_TAB.SUM_RR),5,2) &gt; 10\n        OR DECIMAL(100*(FLOAT(TOTAL_CPU_TIME)\/SUM_TAB.SUM_CPU),5,2) &gt;10\n        OR DECIMAL(100*(FLOAT(STMT_EXEC_TIME)\/SUM_TAB.SUM_EXEC),5,2) &gt;10\n        OR DECIMAL(100*(FLOAT(TOTAL_SECTION_SORT_TIME)\/SUM_TAB.SUM_SORT),5,2) &gt;10\n        OR DECIMAL(100*(FLOAT(NUM_EXECUTIONS)\/SUM_TAB.SUM_NUM_EXEC),5,2) &gt;10\n    ORDER BY ROWS_READ DESC FETCH FIRST 20 ROWS ONLY WITH UR;\n<\/code><\/pre>\n<p>Sample output:<\/p>\n<pre><code>STATEMENT  ROWS_READ            PCT_TOT_RR TOTAL_CPU_TIME       PCT_TOT_CPU STMT_EXEC_TIME       PCT_TOT_EXEC TOTAL_SECTION_SORT_TIME PCT_TOT_SRT NUM_EXECUTIONS       PCT_TOT_EXEC AVG_EXEC_TIME\n---------- -------------------- ---------- -------------------- ----------- -------------------- ------------ ----------------------- ----------- -------------------- ------------ -------------\nSELECT ACA              5671140      81.71               657030        1.13                 1422         0.76                       0        0.00                 1860         6.92          0.76\nWITH SYSIB               865658      12.47              1813570        3.12                 2903         1.56                       4        4.04                  214         0.79         13.56\nselect sna                62808       0.90                17975        0.03                   29         0.01                      13       13.13                   16         0.05          1.81\nCALL SYSIB                 9418       0.13             17493719       30.18                45506        24.50                       0        0.00                 2121         7.89         21.45\nSELECT T.t                 6600       0.09               383749        0.66                  617         0.33                      62       62.62                 2200         8.18          0.28\nselect str                 4353       0.06                52841        0.09                24344        13.10                       2        2.02                    3         0.01       8114.66\nCALL SYSIB                   41       0.00             34754421       59.97                61356        33.03                       0        0.00                 2949        10.97         20.80\n\n  7 record(s) selected.\n<\/code><\/pre>\n<p>Though complicated, this query helps to identify queries that are a problem in terms of key database resources and reports their impact as a percentage of that resource used by all other queries in the <a href=\"http:\/\/db2commerce.com\/2016\/09\/20\/db2-memory-area-in-depth-the-package-cache\/\">package cache<\/a>. The queries in this result set with a high percentage of rows read are most likely to be negatively impacting the index read efficiency for the database.<\/p>\n<p>After identifying the problematic queries, these are the most common actions to take to improve query performance and index read efficiency:<\/p>\n<ul>\n<li><a href=\"http:\/\/db2commerce.com\/2011\/12\/01\/sql-analysis-overview\/\">Analyze that SQL<\/a> and then<\/li>\n<ul>\n<li>Add or remove indexes to help the query run faster<\/li>\n<li>Rewrite the SQL to be more efficient<\/li>\n<li>Consider special statistics methods like <a href=\"https:\/\/www.ibm.com\/support\/knowledgecenter\/SSEPGG_11.1.0\/com.ibm.db2.luw.admin.perf.doc\/doc\/c0005297.html\">column group statistics<\/a> or <a href=\"https:\/\/www.ibm.com\/support\/knowledgecenter\/SSEPGG_11.1.0\/com.ibm.db2.luw.admin.perf.doc\/doc\/c0021713.html\">statistical views<\/a><\/li>\n<\/ul>\n<li>Work with developers to reduce the frequency of execution (through application-level caching or other methods)<\/li>\n<li>Work with developers to change or improve the query<\/li>\n<li>Work with developers to otherwise change the database design<\/li>\n<\/ul>\n<h2>Summary<\/h2>\n<p>Often, you can throw hardware at a database with poor index read efficiency, but this is an inefficient solution, and there are limits to its efficacy. SSD and a lot of memory and CPU resources may temporarily alleviate or mask problems with read efficiency. Sometimes on a database server with poor read efficiency, we can reduce the database&#8217;s need for CPU and memory by half or more! The <a href=\"https:\/\/virtual-dba.com\/platforms\/ibm-db2-luw\/\">Db2 experts<\/a> at Xtivia would love to help you reduce hardware costs and improve database performance by working with you to lower index read efficiency.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My top metric for analyzing database performance is index read efficiency. This metric essentially shows how well indexed a database is for the workload that runs against it. Index read efficiency is calculated by taking the rows read and dividing them by the rows returned. The value tells us, on average, how many rows Db2 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":34770,"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":[4141],"class_list":["post-34625","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-db2","tag-db2-performance-tuning"],"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>Index Read Efficiency - A Key Performance Indicator for Db2<\/title>\n<meta name=\"description\" content=\"A top metric for analyzing database performance is index read efficiency. This metric essentially shows how well indexed a database is for the workload that runs against it. These steps will help to calculate the index read efficiency.\" \/>\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\/index-read-efficiency-db2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Index Read Efficiency - A Key Performance Indicator for Db2\" \/>\n<meta property=\"og:description\" content=\"A top metric for analyzing database performance is index read efficiency. This metric essentially shows how well indexed a database is for the workload that runs against it. These steps will help to calculate the index read efficiency.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\" \/>\n<meta property=\"article:published_time\" content=\"2018-04-05T16:30:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-11T01:20:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/virtual-dba.com\/media\/ndex-Read-Efficiency-\u2013-a-Key-Performance-Indicator-for-Db2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"557\" \/>\n\t<meta property=\"og:image:height\" content=\"291\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/\"},\"author\":{\"name\":\"XTIVIA\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1\"},\"headline\":\"Index Read Efficiency &#8211; A Key Performance Indicator for Db2\",\"datePublished\":\"2018-04-05T16:30:51+00:00\",\"dateModified\":\"2021-02-11T01:20:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/\"},\"wordCount\":501,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/ndex-Read-Efficiency-\u2013-a-Key-Performance-Indicator-for-Db2.jpg\",\"keywords\":[\"db2 performance tuning\"],\"articleSection\":[\"Blog\",\"Db2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/\",\"url\":\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/\",\"name\":\"Index Read Efficiency - A Key Performance Indicator for Db2\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/ndex-Read-Efficiency-\u2013-a-Key-Performance-Indicator-for-Db2.jpg\",\"datePublished\":\"2018-04-05T16:30:51+00:00\",\"dateModified\":\"2021-02-11T01:20:00+00:00\",\"description\":\"A top metric for analyzing database performance is index read efficiency. This metric essentially shows how well indexed a database is for the workload that runs against it. These steps will help to calculate the index read efficiency.\",\"breadcrumb\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#primaryimage\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/ndex-Read-Efficiency-\u2013-a-Key-Performance-Indicator-for-Db2.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/ndex-Read-Efficiency-\u2013-a-Key-Performance-Indicator-for-Db2.jpg\",\"width\":557,\"height\":291,\"caption\":\"index read efficiency\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtual-dba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Index Read Efficiency &#8211; A Key Performance Indicator for Db2\"}]},{\"@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":"Index Read Efficiency - A Key Performance Indicator for Db2","description":"A top metric for analyzing database performance is index read efficiency. This metric essentially shows how well indexed a database is for the workload that runs against it. These steps will help to calculate the index read efficiency.","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\/index-read-efficiency-db2\/","og_locale":"en_US","og_type":"article","og_title":"Index Read Efficiency - A Key Performance Indicator for Db2","og_description":"A top metric for analyzing database performance is index read efficiency. This metric essentially shows how well indexed a database is for the workload that runs against it. These steps will help to calculate the index read efficiency.","og_url":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/","og_site_name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","article_published_time":"2018-04-05T16:30:51+00:00","article_modified_time":"2021-02-11T01:20:00+00:00","og_image":[{"width":557,"height":291,"url":"https:\/\/virtual-dba.com\/media\/ndex-Read-Efficiency-\u2013-a-Key-Performance-Indicator-for-Db2.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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#article","isPartOf":{"@id":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/"},"author":{"name":"XTIVIA","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1"},"headline":"Index Read Efficiency &#8211; A Key Performance Indicator for Db2","datePublished":"2018-04-05T16:30:51+00:00","dateModified":"2021-02-11T01:20:00+00:00","mainEntityOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/"},"wordCount":501,"commentCount":0,"publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/ndex-Read-Efficiency-\u2013-a-Key-Performance-Indicator-for-Db2.jpg","keywords":["db2 performance tuning"],"articleSection":["Blog","Db2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/","url":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/","name":"Index Read Efficiency - A Key Performance Indicator for Db2","isPartOf":{"@id":"https:\/\/virtual-dba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#primaryimage"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/ndex-Read-Efficiency-\u2013-a-Key-Performance-Indicator-for-Db2.jpg","datePublished":"2018-04-05T16:30:51+00:00","dateModified":"2021-02-11T01:20:00+00:00","description":"A top metric for analyzing database performance is index read efficiency. This metric essentially shows how well indexed a database is for the workload that runs against it. These steps will help to calculate the index read efficiency.","breadcrumb":{"@id":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#primaryimage","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/ndex-Read-Efficiency-\u2013-a-Key-Performance-Indicator-for-Db2.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/ndex-Read-Efficiency-\u2013-a-Key-Performance-Indicator-for-Db2.jpg","width":557,"height":291,"caption":"index read efficiency"},{"@type":"BreadcrumbList","@id":"https:\/\/virtual-dba.com\/blog\/index-read-efficiency-db2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtual-dba.com\/"},{"@type":"ListItem","position":2,"name":"Index Read Efficiency &#8211; A Key Performance Indicator for Db2"}]},{"@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\/34625","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=34625"}],"version-history":[{"count":0,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/34625\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media\/34770"}],"wp:attachment":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media?parent=34625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/categories?post=34625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/tags?post=34625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}