× 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.



When it comes to performance, deleted records certainly matters, but it will hurt you more during reads than it will writes. When it comes to LF, the more you have will hurt you more during writes than it will reads.

The ALWCANCEL(*YES) also known as Reorg while Active parameter, will always take longer because the file MUST be journaled and each read/delete/write will therefore hit the journal, as there can be others using the file during this time as well. It's basically moving the records in the file to all be in the front of the file, and then chops off the space at the end. A regular reorg will always be quicker.

While doing things in restricted state might be faster, be careful that people don't think you should be reorg-ing files in a restricted state, as that effects the time people have in downtime. We try to just reorg files when they aren't in use, and of course some files are always looked and we have to bring the applications down to get them. But other applications could still be up.

Just some comments on your observations.

Pete

Pete Massiello
iTech Solutions
http://www.itechsol.com
http://www.iInTheCloud.com

Office: 203-744-7854




-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Bruno Alexandre Miatto Clemente
Sent: Friday, April 01, 2016 3:04 PM
To: Midrange Systems Technical Discussion
Subject: RE: REORG

Hello,

We've made some research and experiments on reorgs a while ago. Let me share our experience:

1. The number of deleted records matters as much as the number of LFs 2. Using ALWCANCEL *YES is considerably more time consuming.
3. It is suggested to perform the task in restricted state for a better performance 4. Even in restricted state, there is a limited number of threads for path rebuild process. We've optimized it setting all the entries with *OPN and submitting jobs with OPNDBF command for each one of the paths increasing the number of parallel threads.
5. The best results came with RBDACCPTH(*OPTIMIZE) ALWCANCEL(*NO) within the item 4.

This is my own opinion and may not match IBM's.

My best regards,

Bruno A. M. Clemente
Mainframe Support Brazil Team Leader
IT Service Management Foundations Certified (ITIL) IBM i 6.1 Administration Certified

"Follow the path of the unsafe, independent thinker. Expose your ideas to the danger of controversy.
Speak your mind and fear less the label of "crackpot" than the stigma of conformity." - Thomas J. Watson





From: Alan Shore <ashore@xxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 04/01/2016 03:44 PM
Subject: RE: REORG
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



There is a way that you can run RGZPFM with the parameter in the command of ALWCANCEL *YES Provided the file you want to do this to is journalled otherwise that file cannot be touched while the RGZPFM is running,


Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Hoteltravelfundotcom
Sent: Friday, April 01, 2016 2:24 PM
To: Midrange Systems Technical Discussion
Subject: REORG

I am going to run A file reorg, RGZPFM on Sunday early.
my question is, what happens if it's still running at the nightly backup time which would be nearly 24 hours later?

I don't have figures yet but does it matter if there are large amt of deleted records or is the time consuming more, if there are multiples of logicals that have to be rebuilt
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.