User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 397,722 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,607 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser:
Views: 2392 | Replies: 1
Reply
Join Date: Feb 2005
Posts: 1
Reputation: abzara is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
abzara abzara is offline Offline
Newbie Poster

Database design

  #1  
Feb 4th, 2005
Hi,

I am developing a web based system involving branch and headquarters information for my project. HQ can access all the branch data and generate report. How am i suppose to design the database? Do i need a separate database for each branch or can i store all the branch info in one database together with the HQ information. If i use separate database, will this slow down the query in MYSQL?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Rep Power: 4
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: Database design

  #2  
Feb 21st, 2005
Hmm... no genius, but I think you can do it several ways.... depends on what you want!

You could have one db.... and just limit the access to things dependant upon user...ie the branches can only input and view their input, where as hq can llok at all input.

Alternatively, you could make multiple copies of the db framework, supply it to all branches, and have them send daily/hourly updates to the main hq db that will import them all...... so you make a big db and a little db... make sense?

or you can make a cross of the two main methods.....
have to careful about security though!

The more you have a permenant connection, tyhe easier to get at.... so I'd recommend have shuttered end db's... (one db per branch, have set times to send the info out to hq!)..... so you have start of day, mid day and end of day.... this means that there are 2 cross check files to ensure the figures add up, (start and end of current/previous/next!).... and the mid day for projection reasons!

If you make the db so that it is web based, you could have it easier... you set it up as an extra-net, (like a ntwork but over the web!).... that way it is safer to protect the connection ends!

still, see what others say!
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Database Design Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Database Design Forum

All times are GMT -4. The time now is 2:19 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC