|
I also have an interest in understanding SETLL under the covers.error. However, I'm still trying to wrap my head around what the system is
I decided to go with Write vs SetLL/Write and catch the duplicate key
previous file (for duplicate checking) are keyed the same. So on the 40
In our current situation, our file is 40 million records. File input&
another forum (link provided earlier in thread).
Also: Crispin, your test seems to match what Barbara Morris had said in
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Luis Rodriguez
Thanks,
Kurt
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
Sent: Thursday, June 17, 2010 1:05 PMhttp://www-03.ibm.com/systems/resources/systems_i_software_db2_pdf_Performan
To: Midrange Systems Technical Discussion
Subject: Re: System slow-down - disk usage?
Crispin,
Check this, I think it could be of help.
<http://www-03.ibm.com/systems/resources/systems_i_software_db2_pdf_Performa
Regards,wrote:
Luis Rodriguez
IBM Certified Systems Expert - eServer i5 iSeries
On Thu, Jun 17, 2010 at 12:50 PM, Crispin Bates<cbates@xxxxxxxxxxx>
saying
----- Original Message ----->
----- Original Message -----
From: "Charles Wilt"<charles.wilt@xxxxxxxxx>
Crispin,Charles,
Slight correction, chain is faster only if the key being searched for
doesn't exist AND the key is greater than anything else in the file.
Otherwise SETLL is faster.
Charles
Forgive me for being dumb. Isn't what you said more likely to result in
SETLL being faster?
"If the key being searched for doesn't exist AND the key is greater than
anything else in the file"
Surely that would mean that SETLL would not have to reposition because it
was already at end of file? Or am I completely missing what you are
position(quite likely)?
But that is just anecdotal, as I don't know if SETLL still has to
Primaryto end of file even if there is no key higher.
FWIW, I took a file with 15 Million records, and ran a test of CHAIN vs.
SETLL to determine if the record existed in the target file. I read the
input file in Primary Key sequence, and effectively wrote every record
found. The target file started off with 0 records, and had the same
onKey.
For CHAIN, it took 10:33
For SETLL it took 11:31
This system is our QA system, nothing else was running. It's a partition
ita 570 with 6GB of ram and 1.5 TB of DASD (44% utilization), running i
6.1.1.
Based on that, using a CHAIN produced almost 1000 more writes/sec. But,
READ/SETLLmatches your statement of there being no record with a greater key. I'm
just
not sure I understand why...
Of course, it could be completely different on another system.
I decided to take the WRITE out, and do the same READ/CHAIN vs.
thewhen the data existed in the to file for every record. I wanted to see
itimpact of the CHAIN reading in the data.
I don't think anyone will be surprised at...
CHAIN 8:45
SETLL 7:15
Personally, I always thought that a SETLL would be better performing,
because no data is read into the buffer, the pointer is just moved. But
CHAINseems that is not always the case, if there is no record to be found,
listappears to be slightly quicker...
Crispin.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
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.
As an Amazon Associate we earn from qualifying purchases.
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.