Q

Set the REUSEDLT flag to Yes

We want to set REUSEDLT flag to Yes on physical files. We have logical files with LIFO/FIFO keywords. We renamed the logicals with LIFO/FIFO and created identical logicals. The database manager rebuilds the index. We have clients that have millions of records in their database and it take too long to rebuild index.

My questions are: Why are the access paths is rebuilt? Is it not supposed to share access path of re-named logicals?


Did you use exactly the same fields as key fields with the same selections? Did you add any fields to the key? If you did not change anything but simply got rid of LIFO, FIFO or FCFO, then I guess that for the system, an access path with LIFO, FIFO or FCFO is not the same as an access path with the same fields but none of the above. This results in the system having to rebuild the access paths.

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

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

The Best Web Links: tips, tutorials and more.

Check out this online event, Getting the Most out of SQL & DB2 UDB for the iSeries.

This was first published in May 2002

Dig deeper on DB2 UDB (universal databases)

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:

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close