Bad Access Path For FETCH FIRST n ROWS or OPTIMISE FOR n ROWS

(Originally posted 2006-02-24.)

APAR PK18018 documents a condition where the use of either the

FETCH FIRST n ROWS

or

OPTIMISE FOR n ROWS

clauses leads to a suboptimal access path. Occasionally you can get an ABEND.

This APAR is marked for DB2 Version 8 only.

Published by Martin Packer

I'm a mainframe performance guy and have been for the past 35 years. But I play with lots of other technologies as well.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: