Note that there are some explanatory texts on larger screens.

plurals
  1. POCMS/E-commerce asp.net project: one database or multiple databases?
    primarykey
    data
    text
    <p>I'm currently working on an C#/ASP.NET project that will host several differents e-commerce websites, all running in the same application.</p> <p>I use LinqToSql (moving to PLINQO soon) to access my database. The database contains both informations on the website structure (pages, ...) and the products/orders/users data.</p> <p>My question is, should I use only one database for all the websites, or sould I create a new database (same model) for every new website?</p> <p>I'm now using a single database (with SiteIDs in some tables) but I have a big security concern, I can't just backup/restore the database for ONE website if something goes wrong (e.g. somebody erase all the products on ONE website) and it's an important requirment of the application.</p> <p>So I was wondering what are the good practices in that case? Is there big cons if splitting dbs? (I would have to make changes to several database instead of one in case of structural changes, but i guess i can make a db version/update system). How the existing CRMs are dealing with that? Is it a performance problem if a database server host a lot of different DataBases? A complex backup/restore tool would be better?</p> <p>Subquestion: To make a website replication easy, I can also split the pure CMS data (Pages, Texts, ...) in one DB and the e-commerce data (products/categories/orders in another). Is it a good idea? It can be achieved by some select/insert functions but it would be easier by just copying a database of course.</p> <p>PS: sorry for my approx. english ;)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload