---
title: "DB2 in simple way: what is index only access"
description: "Most programmers confuse on index only access. This post tells in simple way how DB2 index only access works, and how it improves performance."
url: https://srinimf.com/2016/09/17/db2-in-simple-way-what-is-index-only-access/
date: 2016-09-17
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2016/09/index-only-access.png?fit=600%2C450&ssl=1
categories: ["DB2"]
tags: ["How to know Table is applied Index only"]
type: post
lang: en
---

# DB2 in simple way: what is index only access

The definition in very simple English is ,if all the data being retrieved is present in index, then DB2 satisfy the query without Accessing base table. The index only access in db2 is a key measurement for performance of your SQL Query.

Related[The Essential Guide to 8 Index Access Paths in DB2](https://srinimf.com/2023/04/15/8-index-access-paths-db2-uses-for-sql-performance1-of-2/)

So additional reads of table pages not required,then I/o is reduced, then performance will be increased.

The same you can find in PLAN_TABLE results as

INDEX ONLY: Y

This means Accessing index is enough and no need to access table.

The below five columns you need to refer in PLAN_TABLE

1. ACCESSTYPE
2. MATCHCOLS
3. ACCESSCREATOR
4. ACCESSNAME
5. INDEDEX ONLY

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2016%2F09%2F17%2Fdb2-in-simple-way-what-is-index-only-access%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2016%2F09%2Findex-only-access.png%3Ffit%3D600%252C450%26ssl%3D1&description=DB2%20in%20simple%20way%3A%20what%20is%20index%20only%20access)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2016/09/17/db2-in-simple-way-what-is-index-only-access/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2016/09/17/db2-in-simple-way-what-is-index-only-access/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2016/09/17/db2-in-simple-way-what-is-index-only-access/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2016/09/17/db2-in-simple-way-what-is-index-only-access/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20DB2%20in%20simple%20way%3A%20what%20is%20index%20only%20access&body=https%3A%2F%2Fsrinimf.com%2F2016%2F09%2F17%2Fdb2-in-simple-way-what-is-index-only-access%2F&share=email)
-

### Like this:

Like Loading…
