473,785 Members | 3,349 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Which Replication Method To Use

I have never used replication before and I have been asked to consider
it in a project I am currently working on.

I have created an application for a sales team which is loaded on their
machines, it uses ms sql as its data source and connects via the
internet back to the central server in the office.

Problem is this has shown to be too slow causing time out error
messages and so on. I have been told to research the possibility of
replication, but am unclear what type of replication to use or where to
start.

Any assistance would be appreciated.

Regards,

Ben

Nov 24 '06 #1
4 1534
bf*****@gmail.c om wrote:
I have never used replication before and I have been asked to consider
it in a project I am currently working on.

I have created an application for a sales team which is loaded on their
machines, it uses ms sql as its data source and connects via the
internet back to the central server in the office.

Problem is this has shown to be too slow causing time out error
messages and so on. I have been told to research the possibility of
replication, but am unclear what type of replication to use or where to
start.

Any assistance would be appreciated.

Regards,

Ben
Hi Ben,

Books On Line can be quite helpful, since it describes what is
available, and typical characteristics of situations in which you would
apply each type of replication.

Typical questions you have to ask yourself are where data is going to
be updated (at the central server, at the remote machine, both), how
frequently data changes, how rapidly data needs to be transferred to
other machines, etc.

For instance, if each sales team member needs to be able to access and
update all data (and be offline for long periods?), then you probably
would be looking at merge replication. If the sales team members should
only have access to some subsets of the data (e.g. They're only allowed
to view their own sales history), then you'd still be looking at merge,
but you'd also want to look at dynamic filters.

On the other hand, if the central server is only hosting catalog
information, and everything else is only dealt with locally, then
snapshot replication would probably be more appropriate.

Damien

Nov 24 '06 #2
You also have to take in consideration what is your software security.
Are you user able to create or modify everything, or only some data ?

If they have wright to create and modify everything, you must replicate
all tables in your publication. If not , only a subset of your tables
are to be involve in your publication. That could speed up your
replication process, and he developpement of your replication solution.

Second, i suggest that you synchronise "manually" from the client side,
because your client wont probably be connect all the time to the
"publisher" . (ask your user to synchronise minimum once a week)

Nov 24 '06 #3
I appreciate your help with this, I think merge replication would
probably be best suited as the sales people would only connect
manually, say once a week.

Thanks again.

Nov 24 '06 #4
Thanks for your reply.

This is the situation regarding the software security, all users have
read only access to all data and have the ability to create new
entries, but sales people can only modify/delete their own.

There is also an additional 2 levels of security applied, sales
managers & sales directories.

Sales managers can modify/delete their branches/states sales
information & sales directories can modify/delete their countries sales
information. (As this application is used internationally .)

I have been doing some further research and have concluded that merge
replication would be best suited here while applying identity ranges
for tables containing identity columns for each sales staff to
avoid/minimize conflicts when syncing. Could you please let me know if
there is anything else I have missed?

Also another quick question, when setting up each
subscription/salesperson do I have to replicate all tables that get
used in the application or only the ones that will be modified by the
subscriber/salesperson?

Nov 24 '06 #5

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

Similar topics

0
1592
by: Nick Gaugler | last post by:
I know the replication method is different in MySQL 4.0 then MySQL 3.23.x, but I have a bug that causes problems. The following query will cause MySQL's logic to not properly read any of the following my.cnf commands on slave servers: replicate-wild-do-table replicate-wild-ignore-table replicate-ignore-table I am sure it would make any of the match commands fail as well. This
3
5464
by: muldoon | last post by:
I'm having quite a fuss with my two MySQL DB servers lately. I'm trying to establish replication between a MySQL 4.0.20 server (master) and a MySQL 4.1.11 server (slave). From what I read, replication from a 4.0.x server -> 4.1.x server will work, just not the other way around. However, that's not really my problem. After unsuccessfully completing the configuration myself, I used http://forums.gentoo.org/viewtopic.php?t=241123 as a...
2
3335
by: randi_clausen | last post by:
Regarding a new replication process using two Windows 2000 servers at 5.00.2195, one machine with SP4 and the other SP3, and both running WSE 8.1.5., I am requesting assistance. My dilemma--It appears that my replication scenario is running without any errors, BUT it is not copying changes and new records from the source database to the target database tables. 1) The .trc file shows no error. 2) The Capture log file shows: ....
4
2239
by: Raposa Velha | last post by:
So, chosen the interface for my app, finally I got stuck with transactions. Boy!, how many ways of doing the same job are there?! Any suggestion so I could find myself in the right direction? Pasting some code would be appreciated. My goal is updating several tables and rollback if any of the updates fail. Not much, hmm? I've seen in this NG may discussions (I even gave a try on the MS Access help, what a loss of time!!!) but couldn't...
5
2474
by: mjan | last post by:
Hello, could you please advice on how to measure replication performance in Oracle, DB2 & MS SQL Server RDBMS installed in Windows servers ? I've got two servers with databases installed and configured, I prepared set of data using DBGEN from TPC and I already imported them into databases.Also, I configured the replication. Now I have to do a test with a few kind of replications method implemented in these RDMBS, but I don't know which...
0
3209
by: Martin Andersen | last post by:
Hi! I have a problem with replication. The master database resides on machine A, and the slave on machine B. The replication is performed through an SSH tunnel. This SSH tunnel is created using autossh to reestablish the connection if it times out or is lost in any way. However, whenever this ssh tunnel breaks, and restarts, the slave binary log (relay log) is corrupted and the replication slave stops. This
11
7372
by: Anthony Paul | last post by:
Hello everyone, I am involved in a scenario where there is a huge (SQL Server 2005) production database containing tables that are updated multiple times per second. End-user reports need to be generated against the data in this database, and so the powers-that-be came to the conclusion that a reporting database is necessary in order to offload report processing from production; of course, this means that data will have to be replicated...
0
2717
by: ntech | last post by:
Hello everyone, I am really in a great problem. I have been using dbmirror as the replication method for postgresql. But now the requirement is it has to be both way (i.e. from the primary server to the secodary and vice-versa). Dbmirror is one way and if we have to make it two way replication, we have to install in both the primary and secondary servers and its consumes much amount of memory. I have even looked out with sloony and other...
9
2773
by: Don | last post by:
I've continued to use Access 97 all these years because (1) it does everything I need quickly and (2) most of what I've read online indicates that it's still the most bug-free version of Access. But now that Vista is gradually becoming the only Windows choice and Vista doesn't exactly "cooperate" with Access 97, I'm afraid it may be time to take the leap. I haven't had any experience with later versions of Access so I'm seeking...
0
9643
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10085
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9947
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.