Re: HDR with Synchronous replication
Posted in 2004
Topics: High Availability & Replication, Server Administration, Logging & Checkpoints, Versions, Editions & End-of-Life
Fernando, thanks for your feedback on this case. I was just alerting "rkusenet" about this issue. My advice now is , do not promise heavy load work on Secondary server until you really test it a lot. (We should not promise anything with out testing it, but in real life it is hard to do it !! ) Regards ----- Original Message ----- From: "Fernando Nunes" <spam@domus.online.pt> To: <informix-list@iiug.org> Sent: Wednesday, June 23, 2004 4:18 PM Subject: Re: HDR with Synchronous replication > Francisco Roldan wrote: > > There is an important thing to consider if you choose > > to use HDR . The secondary server must be a "Stand By" Server. > > By "Stand By" i mean that, no hard work like dss queries > > on the secondary server, because checkpoint between > > servers are synchronous (regardless DRINTERVAL's value). > > No! I'll explain later. > > > > > ========================================= > > From the Administration Guide for IDS 7.3 : (4354.pdf) : > > - Chapter 25 "What is High Availability Data Replication": > > (Page 578) > > "Checkpoints Between Database Servers" > > Checkpoint Between Database Servers in a High-Availability data-Replication > > pair are synchronous, regardless of the value of DRINTERVAL . A checkpoint > > on the primary database server completes only after it completes on the > > secondary database server. > > ========================================= > > This is "true" but requires a bit of thought... > The "chekpoint" on a secondary server is not exactly the same as in the > primary server. Since the secondary is read-only there aren't usually > many buffers to flush. But the primary will only complete the checkpoint > when one of the following happens: > > 1- It receives the aknoledgement from the secondary > 2- 4*DRTIMEOUT time (in seconds) expires withou an answer from the > secondary (in this situation it will disconnect the replication and try > later) > > Anything else is probably a BUG (or a mistake from me... ;) ) > > > If you run a heavy DSS Query on secondary server, > > the checkpoint's duration on primary gets really long. > > Not necessarily. And I can (in certain versions) cause a big problem > with some simple statements... As stated above... bug. > > > > > > Fernando Nunes and me had a semi-discussion regarding > > this issue last month (may), with the subject > > "Extremely long checkpoints: How to find the reason ... " > > He reported this issue to IBM and they told him that > > this behavior is "by dessign", so I believe there is no > > much intention to modify it. > > I don't recall to have written this. If I did, I was mistaken. > As far as I recall (Google must know better than me) what I said was > something like this: > > It certainly ISN'T by design. There was a 9.3x version which forced > certain parameters (BUFFERS, CPUVPS etc.) to be the same on primary and > secondary and this was considered a BUG. This clearly states that > Informix (and IBM) assume the servers can be used for different things > besides fault tolerance. > > HDR is a perfect solution to take some heavy load of DSS queries from > your OLTP primary server. > > The situation I was facing when I participated in the thread Francisco > mentioned is clarified by now. It's one of two bugs, corrected in > 7.31.FD8 and 9.40x (can't be sure about 9.4 version). > > I could reproduce the situation and I couldn't in the patched versions. > > To make this perfectly clear: > > HDR can BY DESIGN be used for DSS queries on the secondary. This > doensn't mean you will never hit a problem. But this problems are either > bad configuration, bad usage or most probably bugs. > > The HDR mechanism is prepared to disconnect and later reconnect in case > of network problems or other causes of "load". > > Regards. > > P.S.: I must apologize to Franscisco because I said I would give > feedback on this case and I didn't. Too much work... or is it too less > time...? :) > > > sending to informix-list
"Francisco Roldan" <f_roldan@admcentralagricola.com.gt> wrote in message news:cbd6bi$6mo$1@news.xmission.com... > > Fernando, thanks for your feedback on this case. > I was just alerting "rkusenet" about this issue. I appreciate it. The whole idea of posting this is to get back so that I can put that in my report and get a good name :-) But the key to my whole proposal is that IBM must change their licensing policy for IDS WGE. At present they do not allow replication. DB2 WGE allows replication. With Gold Bundle, we are suppose to get a unified license by which we can switch from IDS to DB2 anytime. To me, it does not make any sense to have different CPU restriction and high availability if IBM wants to assist their customer. Hopefully I should get a reply soon from IBM. If any IBM employee is reading c.d.i, please refer to my post "INFORMIX WGE with DB2 GOLD BUNDLE".
"rkusenet" <rkusenet@sympatico.ca> wrote in message news:2jukupF15oa8lU1@uni-berlin.de... > > But the key to my whole proposal is that IBM must change > their licensing policy for IDS WGE. At present they do > not allow replication. DB2 WGE allows replication. ... > Hopefully I should get a reply soon from IBM .... Yes, streamlined decision-making, allowing a single responsible individual to be quickly identified and to step forward and take responsibility for putting right plainly inequitable situations, is one of IBM's great strengths.