Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Informix > Re: Question ab...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 13993 of 14857
Post > Topic >>

Re: Question about redirected write of Informix 11.5

by Madison Pruet <mpruet1@[EMAIL PROTECTED] > May 8, 2008 at 02:23 PM

Andrew Ford wrote:
> From: <dcruncher4@[EMAIL PROTECTED]
>
> 
>> Two questions:
>>
>> 1. How does the secondary node determine that the before image of
primary 
>> and
>> secondary server are same.
>>
>> 2. What is meant by "During the period in which the write operations
are 
>> sent
>> and then received back from Primary, through the logical logs, the 
>> Secondary
>> server makes the changes available to the SQL transaction by caching
them 
>> in
>> memory.
>>
>> Can anyone from IBM explain this in bit more detail.
>>
> 
> 
> I'm not from IBM but I can take a crack at this until the IBMers can 
> respond.
> 
> 1.  The Primary will check to see that the row has not changed by
comparing 
> 2 optional shadow columns (called VERCOLS) that contain the row version
id 
> and a row checksum.  If you choose to not use VERCOLS, the entire
contents 
> of the row before the update will be sent from the Secondary to the
Primary 
> to verify the row is not stale.
> 
> 2.  I don't know exactly, but I would imagine that the buffered version
of 
> the page on the Secondary is modified to reflect the change.


Close enough...

> 
> A follow up question for the IBMers.
> 
> 1.  What happens to the cached version of the modified row on the
secondary 
> if the attempt to modify the row on the primary fails?

The locally cached version is known only by the session which performs 
the update on the secondary.  If the operation fails, then the cached 
entry is invalidated so that the local session does not see the changes 
any longer.
> 
> Andrew 
> 
>
 




 3 Posts in Topic:
Question about redirected write of Informix 11.5
dcruncher4@[EMAIL PROTECT  2008-05-08 05:51:05 
Re: Question about redirected write of Informix 11.5
"Andrew Ford" &  2008-05-08 08:29:01 
Re: Question about redirected write of Informix 11.5
Madison Pruet <mpruet1  2008-05-08 14:23:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 8:44:34 CDT 2008.