If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > HADR - logs transfer?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-23-10, 09:21
db2aix db2aix is offline
Registered User
 
Join Date: Jul 2009
Location: USA
Posts: 50
HADR - logs transfer?

Does HADR copy the logs from primary to standby or does it transfer the log records using some memory area and then recreates them on standby? What happens to the logs on standby after they've been applied?
Reply With Quote
  #2 (permalink)  
Old 06-23-10, 14:46
blazer789 blazer789 is offline
Registered User
 
Join Date: Jun 2009
Posts: 221
Log pages are transferred through network from the primary and are first written to the logbuffer on the standby and then written to the log file.
Reply With Quote
  #3 (permalink)  
Old 06-24-10, 00:31
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
To add to the above remark:

If you use HADR Nearsynch mode, then the transaction will be considered as committed (assuming a commit is issued or auto-commit) on the primary when the log record is transferred to the HADR log buffer on the standby.

If using HADR Synch mode, the transaction will be considered as committed (assuming a commit is issued or auto-commit) on the primary only when the log record is written from the HADR buffer on the standby to the log file on disk on the standby.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On