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 > DB2 Standby database replication from Primary

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-11-11, 13:16
suresheva31 suresheva31 is offline
Registered User
 
Join Date: Aug 2011
Posts: 2
DB2 Standby database replication from Primary

Hello,

I got a few questions on DB2 HADR, on how Primary db being replicated to Standy database.

Can you please tell me if a create a new tablepsace XXX, will this tablespace will also get replicated to node 2 (standby db)? or this is something I have to create manually?

also how about table move to new tablespaces? and also index creation? and turning on the compression attributes for tables? will this also get this get replicated to Standby db from Prinmary?

Let me know please...

Thanks in Advance.
Kumar
Reply With Quote
  #2 (permalink)  
Old 08-11-11, 14:11
sysdba1 sysdba1 is offline
Registered User
 
Join Date: Aug 2011
Posts: 27
Yes,it gets replicated.
The compression for tables also get replicated if the compression license is added to both primary and standby
Reply With Quote
  #3 (permalink)  
Old 08-11-11, 14:22
skchandra skchandra is offline
Registered User
 
Join Date: Nov 2010
Posts: 14
As sysdba1 mentioned, the activities you mentioned are replicated to the standby database. Please refer these infocenter links to know more about what operations are replicated and what are not replicated.

:::Replicated operations:::
IBM DB2 9.7 for Linux, UNIX and Windows Information Center

:::Non-replicated operations:::
IBM DB2 9.7 for Linux, UNIX and Windows Information Center

Thanks,
SK Chandra
Reply With Quote
  #4 (permalink)  
Old 08-11-11, 14:35
suresheva31 suresheva31 is offline
Registered User
 
Join Date: Aug 2011
Posts: 2
Db2

Thanks, all that is what I was looking for.
Reply With Quote
  #5 (permalink)  
Old 08-11-11, 15:57
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
One thing you must make sure of regarding tablespaces, is that the path names for the databases on both servers are the same, otherwise a tablespace command that affects containers could fail.
__________________
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