473,386 Members | 1,693 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,386 software developers and data experts.

multiple db connections vs. centralized/ redundant db

I have a project to create a dashboard that will connect to existing systems as well as create new features based on combining data from the existing systems. For example, the dashboard will be able to generate "orders" containing data merged from "members" (MS Access DB), "employees" (MySQL DB) and "products" (flat file), and there will also be new attributes particular to "orders."

At first I thought it would be most efficient to have my application connect to each of the systems separately and perform cross-vendor joins between the different databases. But then I thought that creating a centralized/redundant db (built with scripts pushing and pulling data between the systems) might also be useful because it would empower some semi-technical staff to use products like OOBase, which can only make a single connection.

Are there any other advantages to creating a centralized/redundant DB like the one I'm talking about? Or are multiple direct connections the best approach?

Thanks in advance for any tips.
Sep 22 '09 #1
4 1890
gits
5,390 Expert Mod 4TB
the creation of a 'redundant' database is a common solution in the world of BI (business intelligence) where you might use a data warehouse (the mentioned DB loaded with pre-aggregated data from productive DBs) to allow easy and high performant reporting ... it basicly relies on a update-rule-set that is responsible for the actuality of data in the data warehouse and the needs of the users ... it reduces the requests to the production DBs and thus increases performance for the production applications ...

this concept is not very handy when it comes to write operations ... since you would need to re-update the productive databases ... so basicly a data warehouse is (always) a bit out of sync and is just used for read-operations (at least it should)

so as you might see ... your approach depends on the needs of your app ... especially how you would need to have everything in sync ... depending to that it could be recommended that when sync is no issue and you might have a 'kind of data warehouse' then it is not a bad approach ... otherwise everything stands or falls with the syncing scripts, rules etc.

kind regards
Sep 25 '09 #2
Thanks for youre reply, gits.

this concept is not very handy when it comes to write operations ... since you would need to re-update the productive databases ... so basicly a data warehouse is (always) a bit out of sync and is just used for read-operations (at least it should)
Which is precisely my quandary. Does it make sense to build the type of centralized DB I'm talking about, which has both a "warehouse-like" ELT component, and a basic ER schema for an active operational system making inserts, updates, etc.? If so, does it still make sense for me to study any traditional warehouse design principals (a la Kimball or Inmon)?

I still don't have all my business requirements yet, so hopefully I wont have to write to the redundant parts, and those tables can be managed by their respective operational systems. But I would still have foreign keys in my new entities that relate to them.

The other alternative I've been considering is to skip the ELT part entirely and create multiple DB connections on the application level with cross-vendor joins. Nobody seems to be recommending that - although it would potentially be a simpler solution.
Sep 25 '09 #3
gits
5,390 Expert Mod 4TB
I guess you mean ETL (Extract Transfer Load) instead of ELT ... and i wouldn't mixup things. as far as I understand it, you have an operational part where you have to write things to operational tables ... now you would have to do the inserts/updates there and then you would have to extract that data directly back to the warehouse? ... when you could have a delay ... then it seems to be ok to try such a mixed solution otherwise the datawarehouse feels like starting to loose its advantages with unburdening the operational systems from read operations, and looks a bit like overhead. Often the simpler or more pragmatic solutions are the better ones :)

kind regards
Sep 29 '09 #4
Sorry, I meant ETL (Extract Transform Load).

Yeah, I don't think our data or business needs are such that our reporting is much of a burden on our operational systems. I'm leaning toward having both operational and redundant/read-only tables in the same MySQL DB on the same server.

It will have an ETL layer, but I don't think I should call it a "data warehouse", per se.

Sounds like you think this is an okay approach.
Sep 29 '09 #5

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

Similar topics

3
by: Craig | last post by:
I've developed an single sign on web application that we'd like to use with all the applications we're developing. The application's connection string is stored in web.config. I've gotten some...
5
by: news | last post by:
Well, I wrote my first PHP class today. Yeah! But to get it to work, in each function within the class I have to repeat the database connection lines, and that just seems redundant; there has to...
9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
2
by: jasonsgeiger | last post by:
From: "Factor" <jasonsgeiger@gmail.com> Newsgroups: microsoft.public.in.csharp Subject: Multiple Clients, One port Date: Wed, 19 Apr 2006 09:36:02 -0700 I'm been working with sockets for a...
1
by: Yelena Varshal via AccessMonster.com | last post by:
Hello, What are the pre-requisites / conditions for the ability to create multiple connections to MS ACCESS database and what is the precedence of its application? adModeShareDenyNone in the code,...
0
by: rshekhtm | last post by:
Hi everyone, I would like to get your opinion on a technique I came up with when faced with the problem of redundant code in every web method (authentication, logging, exception handling)....
3
by: D. Yates | last post by:
Hi, I'm about to embark on a project that will both send and receive information to/from our client computers in the field. The area that I still need to finalize is the method of...
35
by: keerthyragavendran | last post by:
hi i'm downloading a single file using multiple threads... how can i specify a particular range of bytes alone from a single large file... for example say if i need only bytes ranging from...
15
by: =?Utf-8?B?Vmlua2k=?= | last post by:
Hello everyone, I have this code for TCPListenPort. The code works fine, but my manager is asking me to establish multiple connections to the same port. How can i acheive that below is my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.