473,564 Members | 2,749 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exchanging data between branches - Database Design Help

2 New Member
Hey All!

I am currently designing a database model for (at first sight) a simple order entry program. The problem I'm currently facing is the exchange of data between the databases of each branch of the company. The company consists of five branches where each the same program and, hence, same database is installed. The data between these branches have to be exchanged (i.e. customers, users).

Now my question is, how should I design the database that it will be possible for exchanging data between the branches and still the primarykey remains unique and references to this primarykey still work (i.e. entity Order refers to a specific Customer)?

For example with the entity Customer and its primarykey CustomerID. Branch A add customers in its database, and also branch B add customers in its database. Both databases contains CustomerID of value 2, but the customer of each database with this ID represents a different customer (sounds logical, right?). How to exchange the data from branch A to branch B?

One limitation I have to add, there's no high-speed connection between the branches. Let say the exchange should still be done with a dial-up 56k modem (yes, it sucks, i know, but I am currently doing a project in a third world country... :o )

I hope I described my problem clear, please let me know if you need more information... thanks in advance!
Jun 17 '06 #1
3 1671
sashi
1,754 Recognized Expert Top Contributor
Hi Alwin,

i think i clearly understood whatever ur concern is.. well.. do correct me if am wrong.. redundancy?? is that is my fren??

u mentioned that u need to install same front-end as well as the back-end (database) on each machine on each branch.. rite?? well.. my suggestion is..

since ur thinking of performing the data exchange over an internet line which is connected to each branch.. since redundancy is the main concern here.. why don't we look or take a diff approach which will reduce the work burden.. what am trying to say is n ask is.. 1st of all have u tried looking at other options as well?? maybe like the development language itself?

confused ah?? not yet my fren.. you know what i would do if i were u?? i would stop thinking about normalizing the database design instead.. well.. since we have an internet connection present here.. i would make a web based system my choice..

why not thinking of designing a web based system.. maybe .asp/.php.. i these case.. it will reduce your burden when it comes to troubleshooting your application.. take a moment to think.. you have 5 branches to look after.. what will happen at the end of the day?? you will be tied up btw these brances my fren..

all these issues can be by passed when working with web based application.. sisnce you have 5 branches.. am sure u must have an HQ somewhere.. rite?? why not you place the master database at you HQ and let all your clients (branches) to access the database.. think abt it?? wouldn't it save you alot of valuable time??

the only thing you have to concern it the database itself.. create a relational database will all the primary key n secondary key correct n it should work fine..

well.. this is my suggestion thou.. but it the meantime i'll try to find some solutions for your question above.. maybe it's time to pick-up my phone receiver to call few of my old frens to get an idea..

give it a tot.. to me it makes sense.. how abt you?? good luck to u my fren..
Jun 17 '06 #2
Alwin
2 New Member
Hey Sashi,

Thanks for sharing your thought, but I don't think it would be a practical solution for having the web-based system. This will cost me a huge drop in performance (which is not affordable) due to the really slow internet connection. It will take the clients a couple of seconds every time to insert/update/delete a record. So the only option in this case should be a separate database at each client and these should replicate every hour or so...

There's indeed a HQ which will contain the master database. But I want to replicate all the customers / users etc etc across the other databases as well...

Thanks again...
Jun 18 '06 #3
sashi
1,754 Recognized Expert Top Contributor
Hi Alwin,

emm.. let me suggest using the Remote Database Object (RDO) method.. when it comes to replicating non-duplicate record pls use the DISTINCT keyword in your SELECT statement..

hope the above method works and good luck to u my fren..
Jun 18 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
1304
by: cleveralex1212 | last post by:
Sorry to disturb. I'm truly a beginner in C++ and my knowledge of it is really not much. I've been facing a serious problem during these few days. Let me describe my situation as clearly as I can and I do hope you guys can give me a helping hand. Suppose I have a number of people's personal information such as name, age, hobbies, etc. How...
2
2128
by: Mike | last post by:
Hi I have been tasked with converting my pulp and paper mills weekly projected and actual contractor hrs excel spreadsheet into a an Access 97 database. So far my design has been to use a form with a button for each to day navigate the recordset of a single table using .findfirst and .nomatch and I am worried about performance as I'm...
1
1786
by: Bob | last post by:
I have been asked to modify an existing Access database so that it can update a MySQL databse in head office from multiple MS Access databases in branches. The idea is that when the HO database is available then any changes made in branch will automatically update HO but when HO database is not available then changes are 'batched' until it is...
0
1289
by: Marc DVer | last post by:
I am at kind of a loss on how to design a certain database project I am working on. Basically, we have a proprietary program with a standard backend (though we do not have direct write access to the backend). What I am working on is a project to take certain data from the database, send it to certain vendors, process the data, and send it...
8
1661
by: rAinDeEr | last post by:
Hi, I have a table with the following 2 Fields - one is the description name and the second is its description to be stored in a table. description name description ------------------------------ ------------------ Terms and Conditions ( to store large amounts of text, Dont know which data type to select)...
10
5944
by: Will Honea | last post by:
I have a data set which I need to analyze but I am having a problem figuring out a structure for the database - or whether there are better ways of attacking the problem. The base data set is a large number of replies to a survey questionaire. I have adapted a NLP program to produce lexically annotated structural trees which appear to...
4
1698
by: enizag | last post by:
I have a problem which needs a sloution, I have a database of a phone bill which contains all calls made from 100 different branches, this is split down to if the call was local "L", national "N" and local rate "LR", obviously each branch makes a number of each type of call. In total there is nearlly 60,000 calls. What I need to do is seperate...
1
1813
by: GPD | last post by:
I thought I had done this before but cant see a way how. Am sure I once opened a table and amended some data. Anyone know if possible or how, any permissions needed from 10G EM. PS I know I can view the data. I want to amend a few values thats all. Normally use toad but am on a 64 bit server. Hence no free toad.
12
77955
lifeisgreat20009
by: lifeisgreat20009 | last post by:
I am a newbie to Struts and JSP...I have been working on the code below for 5 hours now..I googled a lot but couldn't get much help so finally I am here.. Hoping of getting my problem solved. Please give me some idea where I am going wrong ?? I just want to retrieve data from my emp_mstr table and display it using my JSP file... The table...
0
7666
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...
0
7584
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...
0
7888
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7951
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...
1
5484
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...
0
5213
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...
1
2083
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
925
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...

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.