Re: NetBase Shadowing Slowness
- From: John Clogg <JClogg@xxxxxxxxxxxx>
- Date: Wed, 4 Jan 2006 08:50:54 -0800
Hi, James. One thing that can cause shadowing to lag behind is that the
shadow posting is single-threaded. On the master machine you can have a
multitude of processes updating several databases concurrently, but on
the shadow machine the transactions are posted one at a time in the
order they are encountered in the queue file. One extreme example of
the impact that can have is a database we have (designed by someone who
must have been very ignorant of Image internals) that has very long
sorted chains. When that database is being updated, it can be extremely
slow. It's not very noticeable on the master machine, because not many
processes use that database, but on the shadow machine the slowness of
those updates slows down everything else.
One trick I have used on occasion is to defer posting on the offending
database for awhile. This will cause any transactions for that database
to be written to a PQ file. When you "undefer" the database, a separate
posting process is launched to post the transactions in the PQ files.
This allows greater parallelism and keeps the slow transactions from
affecting others. Until the PQ files are drained, the primary posting
process will continue to write the transactions to the PQ files, so the
second posting process can stay alive for quite a long time, even if you
undefer after only a short time.
Of course, using this trick will not preserve the sequence of
transactions to the deferred database relative to the others, so some
logical inconsistency could exist temporarily.
John Clogg
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:HP3000-L@xxxxxxxxxxxxx] On
Behalf Of Reynolds, James
Sent: Wednesday, January 04, 2006 7:18 AM
To: HP3000-L@xxxxxxxxxxxxx
Subject: NetBase Shadowing Slowness
Greeting all,
This past weekend, I had to resync my databases on my 997. I
started out with about 80 Qfiles to post and now I have 143 to post, and
it's still growing... anyone have any idea why the shadow system's
posting could be so slow?
Thanks
James R. Reynolds
HP 3000 System Engineer
Time-Life Customer Service,Inc
2600 International Pkwy
Virginia Beach, VA, 23452
Phone: 757-427-7784
Cell: 757-651-8735
Email: James.Reynolds@xxxxxxxxxxxx
I am careful not to confuse Excellence with Perfection. Excellence I
can reach for. Perfection is God's Business. Michael J. Fox
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
.
- Prev by Date: HP3000/COBOL/MPE/Image Consulting Opportunity
- Next by Date: Re: abort command
- Previous by thread: Re: NetBase Shadowing Slowness
- Next by thread: Re: NetBase Shadowing Slowness
- Index(es):
Relevant Pages
|