On the DSPFD listing, what is the difference between Physical Reads and Logical Reads?
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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.
Dig Deeper on iSeries SQL commands and statements
Related Q&A from Kent Milligan
When working with DB2 files with columns that have both short and long names, there is no option choose which column names are returned via ODBC ...continue reading
Create a host variable of the where in statement on the fly with dynamic SQL.continue reading
When developing tables in a parent-child relationship, use a primary key and a foreign key along with a unique ID to make your database easier to ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.