× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Good question.
In most cases, eliminating keyed access path maintenance and doing it after
the fact is (much) faster. Where it isn't is when you are just adding
records to the existing file and don't really need to rebuild the access
path for the entire file (original records are already in the access path).
This is one case where CHGLF *DLY may hold an advantage to RMVM or CHGLF
*REBLD.
And yes, LFs are unusable until they're fully rebuilt, but the overall time
for the CPYF processing drops down.

BTW Charles, don't forget that constraints are implemented as a binary radix
index as well (primary key, unique constraint, foreign key constraint). And
DDS PF can have a non-unique key. All of these access paths are maintained
in real-time so you may want to eliminate their maintenance as well.

Elvis

Celebrating 11-Years of SQL Performance Excellence on IBM i, i5/OS and
OS/400
www.centerfieldtechnology.com

-----Original Message-----
Subject: Re: Looking for a faster CPYF

<snip>
automatically removing LF members for the copy and readding afterwards.
</snip>
Is this truly faster? So, sure, the CPYF command may be done but are the
logicals unusable for a long period afterwards because there are system
tasks like QDBSRV.. at the bottom of the WRKACTJOB rebuilding the indexes?


Rob Berendt



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.