Q

Physical Reads and Logical Reads

On the DSPFD listing, what is the difference between Physical Reads and Logical Reads?

I need to count how may times the file has been accessed. There are no logicals over this file and the file is always accessed by the key on the physical.


Logical Reads is the number of Logical I/O requests made by DB2 for the physical file (or table). Physical Reads is the actual number of Physical I/O operations performed to satisfy the Logical I/O requests. DB2 might have done a logical I/O request, but there's no physical I/O operation performed because that part of the file was already in memory.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Check out this Search400.com Featured Topic: Expert advice on DB2

Search400.com's targeted search engine: Get relevant information on DB2/400.

The Best Web Links: Tips, tutorials and more.

This was first published in October 2004

Dig deeper on iSeries SQL commands and statements

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchEnterpriseLinux

SearchDataCenter

Close