Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Multidatabase SystemMultidatabase System
Previous
 
Next
New Post
1/9/2008 6:58 AM
 

Hi there,

I have a question concerning DNN module developpement. I will have to develop some modules and I want to separate data for each portal.
I will have more than 100 portals with 20-30 modules for each. So I fear that one database will come too big (some modules will store a lots of data). And if there is a crash, or a bad update, all my portals won't work... However, if I have multiple databases, I could dispatch data over n database servers so performance will be better and server crash will impact minimum portals.

So my questions are :
If multiple database possible :
- Is it possible to have one database by portal and one database for the DNN engine ?
- How does it works for module upgrades ? Is there a loop for the n databases ?
- Where can I specify the connection string associated with the portal ?

If multiple database not possible :
- Is DNN designed to support a lots of portals with a lots of modules ? Is there some benchmarking made ?
- How can I extract module data from only one portal and inject that data into another DNN engine ?
- Can I use a module setting to store a connection string for each portal and open connection in my code module, and so, simulate a multidatabase system ? Will it be simple or too complex ?

Thanks for any reply,

Ze Seb

 
New Post
1/9/2008 11:15 AM
 

If you develop the modules yourself, you can store the data in any sql database. All you do is add another connection string in the web.config file. You'll want to store PortalId with each record in your tables. You can look at Michael Washington's tutorial.

In theory the number of modules or portals isn't a concern. You should be able to scale, as long as your hardware can handle it.  But I do  think it's a good idea to store application data seperate from the core database. Then one cannot take down the other.

FYI: Any core or third party modules that you purchase will install on the default DNN DB.

 
New Post
1/10/2008 5:31 AM
 

Thanks for your reply.

So it seems that the best solution for my case is to have one DNN core by portal if I want to dispatch the load on many servers. With this solution, I can move a database or the portal where I want.
The only drawback is the upgrade of the core and modules, it will take a lot of time to do it on each portal. Maybe I could make a script to upgrade all my portals in one time...

I think I will follow this direction.

Ze Seb

 
New Post
1/19/2008 4:29 PM
 

I think a 100 portal system should not be that big of a problem for 1 database.
We're running something like that for a customer whithout any problems.

 
New Post
1/20/2008 4:04 AM
 

All portals of a single DNN installations share the same database and I do suggest not to alter this for your module because integrity will become a nightmare. For sure, a SQL database can handle millions of records in a database (SQL Express limits size to 4 GB AFAIR), which shall be sufficient for a large number of portals and users reported of installation with up to 8000 portals, though default management tools are not designed for this size and I usually suggest not to place more than ~50-100 portals in a single installation, as you can easily place multiple installations on the same server.

 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Multidatabase SystemMultidatabase System


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out