0

Am building a simple web based expert application.I have created two databases in the back-end,One database holds user data and the other holds user activity data.Hence it is accessed by a single web app.[e.g Distributed and Parallel both use in single website for back-end]

My question: Can a single web app have multiple databases in the back-end?

asked Aug 23, 2016 at 20:37
1
  • That depends on the DBMS in question: some of them use the term "database" where "schema" would be more appropriate, while others may support only one database per instance. Commented Aug 23, 2016 at 20:48

1 Answer 1

1

I don't see why not. You would just create two data sources and potentially two data access layers if you want to take it that far. At least for .Net/C#/VB.Net this wouldn't be a problem. I'm not sure I understand the benefit in this case but if you feel you have a good reason to separate the database, there's no reason it can't be done.

answered Aug 23, 2016 at 20:47
3
  • Thanks.Actually am building basing on mysql as back-end. Commented Aug 24, 2016 at 17:46
  • I believe MySQL allows for more than one database on an instance, so I don't believe it will be a problem. What language are you going to be using for the web app? I'm curious, what is the perceived benefit of having separate databases? This could add to the complexity of your web app code and may not be worth the effort. Commented Aug 24, 2016 at 17:53
  • I will be using couple of languages ie sql,php,javascript and html with css.Though,have failed to come up with the right logic or algorithm to fetch data[ data synchronization ] Commented Aug 24, 2016 at 18:15

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.