|
Peter,
I haven't actually tested the performance of RRN vs. keyed index access on
IBM i, but the IBM i index search may actually return a RRN if it works
like some of the other DBMS products I've worked with. So a known RRN may
be the quickest way to find records.
I'm not that familiar with iTera, but I wonder if it may have a
configuration setting that controls the queue on the target system?
Nathan.
On Sat, Aug 12, 2017 at 11:39 PM, Peter Connell <Peter.Connell@xxxxxxxxxxx
wrote:
I assume that mirroring software (ITERA) that uses journals fornothing
replication to another IBM i5 performs updates and deletes on the target
system by using the RRN stored in each journal to replicate the update or
delete.
This is a reasonable assumption since the mirroring software knows
about any index it might use to achieve the update of delete via anaccess
path.attract
A large file on the source system of 170 million records which may
several million updates and deletes in a day results in these beingqueued
for long periods on the target system before the actual replication eventconfidentiality
occurs to keep the file in synch.
I presume that the substantial latency observed between the source and
target updates and deletes is because the record be updated or deleted is
being located via RRN.
Perhaps this is because DB2 has to do a table scan to find the record
which is slower than an update via a unique index.
It's not clear if creating an index whose primary key is RRN would help
otherwise the only solution may be to do a custom replication that reads
the journal, and extracts the unique index to do an update or delete.
Regards, Peter
############################################################## This
correspondence is for the named person's use only. It may contain
confidential or legally privileged information, or both. No
or privilege is waived or lost by any mistransmission. If you receivethis
correspondence in error, please immediately delete it from your systemand
notify the sender. You must not disclose, copy or rely on any part ofthis
correspondence if you are not the intended recipient. Any views expressedsender
in this message are those of the individual sender, except where the
expressly, and with authority, states them to be the views of Equifax. Iflist
you need assistance, please contact Equifax :- Australia
www.equifax.com.au/contact New Zealand www.equifax.co.nz/contact
##############################################################
--
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.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
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.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
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.