dbTalk Databases Forums  

Refresh of a live replicated database with table subscriptions

comp.databases.sybase comp.databases.sybase


Discuss Refresh of a live replicated database with table subscriptions in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tester
 
Posts: n/a

Default Refresh of a live replicated database with table subscriptions - 01-05-2010 , 06:41 PM






It appears that dump marker pertains only to database subscriptions.

We are using table subscriptions. How do I not lose data accrued during dump
and load from primary to target, if new records are being created in the
process of replication refresh?

Reply With Quote
  #2  
Old   
species8472
 
Posts: n/a

Default Re: Refresh of a live replicated database with table subscriptions - 01-07-2010 , 05:47 AM






On 6/1/10 00:41 , Tester wrote:
Quote:
It appears that dump marker pertains only to database subscriptions.

We are using table subscriptions. How do I not lose data accrued during dump
and load from primary to target, if new records are being created in the
process of replication refresh?


modify repdefs to replicate all columns

suspend connection to yout replicate db.

dump

load

modify repdefs to use autocorrection

resume connection

wait until queues are drained

disable use of autocorrection on repdefs

modify repdefs to replicate minimal columns

Reply With Quote
  #3  
Old   
Tester
 
Posts: n/a

Default Re: Refresh of a live replicated database with table subscriptions - 02-19-2010 , 08:59 PM



Yes, it looks like this is a viable option.
However, I discovered that the REP 12.6 MSA configuration allows to
replicate tables the same way, but skipping the rep. definitions part (if
you deal with databases that look the same). You can still select which
tables to replicate and it works faster.
And then you can use the dump marker as well. The only bug here is - when
using "define subscription ... use dump marker", the replication server sa
(or id you're creating defs under) needs to have the same password as the
source (but not the target) database, otherwise it bombs out with the "Login
failed" error. Weird, but at least it works.


"species8472" <species8472 (AT) ergens (DOT) op.het.net> wrote

Quote:
On 6/1/10 00:41 , Tester wrote:
It appears that dump marker pertains only to database subscriptions.

We are using table subscriptions. How do I not lose data accrued during
dump
and load from primary to target, if new records are being created in the
process of replication refresh?



modify repdefs to replicate all columns

suspend connection to yout replicate db.

dump

load

modify repdefs to use autocorrection

resume connection

wait until queues are drained

disable use of autocorrection on repdefs

modify repdefs to replicate minimal columns

Reply With Quote
  #4  
Old   
simon
 
Posts: n/a

Default Re: Refresh of a live replicated database with table subscriptions - 04-01-2010 , 06:34 PM



You can also use autocorrection on top of MSA, just need to recreate the
table defs for those tables you're planning to activate it.


"Tester" <tester22 (AT) tester (DOT) cc> wrote

Quote:
Yes, it looks like this is a viable option.
However, I discovered that the REP 12.6 MSA configuration allows to
replicate tables the same way, but skipping the rep. definitions part (if
you deal with databases that look the same). You can still select which
tables to replicate and it works faster.
And then you can use the dump marker as well. The only bug here is - when
using "define subscription ... use dump marker", the replication server sa
(or id you're creating defs under) needs to have the same password as the
source (but not the target) database, otherwise it bombs out with the
"Login
failed" error. Weird, but at least it works.


"species8472" <species8472 (AT) ergens (DOT) op.het.net> wrote in message
news:4b45bbbb$0$6046$e4fe514c (AT) dreader31 (DOT) news.xs4all.nl...
On 6/1/10 00:41 , Tester wrote:
It appears that dump marker pertains only to database subscriptions.

We are using table subscriptions. How do I not lose data accrued during
dump
and load from primary to target, if new records are being created in the
process of replication refresh?



modify repdefs to replicate all columns

suspend connection to yout replicate db.

dump

load

modify repdefs to use autocorrection

resume connection

wait until queues are drained

disable use of autocorrection on repdefs

modify repdefs to replicate minimal columns





--- news://freenews.netfront.net/ - complaints: news (AT) netfront (DOT) net ---

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.