473,395 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

DB2 Replication having slow apply (update) at the target server

Hello,everyone.

I'm setting a db2 replication environment using UDB version 8.1.5
running on Windows 2000 servers. The source server is on a Windows
server with the capture program running while the target server is on
another Windows server running the apply program. This replication set
up has a mix of bidirectional and unidirection data exchange. User
copy is used for the unidirectional data. I'm having the following
issue.
1. It seems like it takes about (3-5) for a transaction record to get
applied at the target server (LAN environment, actually they are the
same switch (apply/capture servers). I.E. the target server sends 1
record change every 3/5 seconds. Then it stops and waits for another
such interval to send the next one. That is unfeasible for our
replication purpose. If there were 1,000 being input per second, users
would need to have to 83 minutes for the data coming across to the
target server.

Is there a way to speed up or apply data change as it happens rather
than waiting for it to get applied at periodic interval.

What is log-based replication? Is that something that can help achieve
near real-time replication?

Thanks so much.

Trent
Nov 12 '05 #1
1 2949
Trent,

There are two common techniques used by replication for capture of the
changes.

One is trigger based (where update/insert/delete) triggers are used to
generate the changes that are put into some form of a staging table. The
staging table is then periodically polled to pull the delta into the target
table.

The other is a log based technique in which there is a snoopy process which
will build the differences into and then apply them in some way.

In the current (pre 8.2) releases, the log based capture is used on DB2
sources and the trigger based capture is used for non-db2 sources. However,
even the log based capture is placing the changes into a staging table
(CD/UOW) and then the apply is polling that staging table to determine what
to apply.

Not to worry...

We are in the process of announcing a new version of replication which will
address the issues that you are wanting addressed. This will be discussed
next week in the DM Technical Conference in some detail. So I don't want to
go into too many details here.

However, the IDS folks that might be reading this, I'm talking about a
performance difference that roughly is equivalent to the ER performance
differences pre/post 9.30.

"Trent" <pi****@yahoo.com> wrote in message
news:7a**************************@posting.google.c om...
Hello,everyone.

I'm setting a db2 replication environment using UDB version 8.1.5
running on Windows 2000 servers. The source server is on a Windows
server with the capture program running while the target server is on
another Windows server running the apply program. This replication set
up has a mix of bidirectional and unidirection data exchange. User
copy is used for the unidirectional data. I'm having the following
issue.
1. It seems like it takes about (3-5) for a transaction record to get
applied at the target server (LAN environment, actually they are the
same switch (apply/capture servers). I.E. the target server sends 1
record change every 3/5 seconds. Then it stops and waits for another
such interval to send the next one. That is unfeasible for our
replication purpose. If there were 1,000 being input per second, users
would need to have to 83 minutes for the data coming across to the
target server.

Is there a way to speed up or apply data change as it happens rather
than waiting for it to get applied at periodic interval.

What is log-based replication? Is that something that can help achieve
near real-time replication?

Thanks so much.

Trent

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Keith Elkin | last post by:
I'm having a strange problem using random file access and was wondering if anyone is aware of why this might be happening. When I write new records to the file, it seems to take a few seconds...
1
by: KWilliams | last post by:
Hello, We are trying to set up replication between different versions of SQL Server (7 & 2000). This is how the 2 servers are now setup: DB1 - External web-server w/SQL Server 7 DB2 -...
0
by: Philip Trim | last post by:
General Brief: 3 SQL Servers as MS SQL Server 2000 Standard Edition with Service Pack 3 All using FTP for snapshots All Servers are both Publishers and Distributors. Server A has the correct...
3
by: Vincento Harris | last post by:
Sql Server 7 Standard Edition My Server was renamed and the normal steps of reinstalling and running sp_dropserver and sp_addserver were followed. Everything seems to work fine but jobs from the...
4
by: rajender_4 | last post by:
Hi techies I have set up a Transaction replication from My Primary Server to Secondary Server on Orders table. Thousand of records gets inserted on Orders every hour which get replicated...
2
by: Stephen Brown | last post by:
We've been using dotNet for a couple of years now and have been updating our live server by just overwriting (Explorer drag and drop) the aspx and assembly files until we had some errors reported...
0
by: mdb_1974 | last post by:
Hello I tried to do an initial full refresh but I failed - nothing happens (no error at all). Apply works without errors. Details of my environment: I have the following replication scenario:...
1
by: Joseph Chase | last post by:
I am running version 4.1.13a-log on a Mac XServe. How can I receive a 'duplicate entry' error for an UPDATE? An update isn't creating an entry, so why this error message? ...
3
by: Kunal Desale | last post by:
Hi, How to insert/update data in foxpro table field having datatype MEMO using Linked Server? I have written sql insert queries in which i have used linked server to insert data into foxpro...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.