Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transactional Replication Across and Active/Active Cluster

Status
Not open for further replies.

UpstateNYAdmin

Technical User
Oct 21, 2005
35
US
I have an SQL2000 Ent Ed.(os Win2K3) Active/active cluster that it was suggested that I use transactional replication to alleviate slow responses to reads when updates are occuring. Personally, I would rather just improve the code than resort to maintaining the replication. Is it even possible to have this sort of set up? Basically, the updates would be done on the Publisher and all reads would be done from the subcriber, distributor would be either on a 3rd server or on the subscriber. Its seems the overhead of of all the extra services would negate the benefits plus, in the event one node failed and everything was running on one server, I would have a ton of performance issues. Does anybody think this is worth the trouble?

Thanks,
Pat
 
I would not even consider setting up replication to fix performance issues. Fix the code first! Identify the bottle necks and poor performing queries.
You would also have to consider the latency. What if a user updates their data then wants to view it. Is that update going to be replicated fast enough? This solution would create more potential problems then it could solve.

- Paul [batman]
- If at first you don't succeed, find out if the loser gets anything.
 
Replication is not a fix for performance problems.

You absolitly need to fix the code, check indexes, disk IO, memory, etc before you look to setting up replication to fix a performance problem.

Where is the performance issue comming from? What do the execution plans show? What does performance monitor show.

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Thanks, for the feedback guys! Basically, there are reads and writes going on concurrently and both the read and write procs use cursors to some extent to generate the data dynamicly based on whatever the app is passing. I ahve have found that one of the UDF is used by both and seems to be part of the problem, by using lots of cpu and i/o due to the several table variables used to weed thru the data that it needs to return.
 
Try rewriting the cursors as rowset operations. This will greatly increase performance.

Also try adding the nolock hint to all the the SELECT statements to reduce locking and blocking.

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top