Solved

Building a new cart, looking for DB advice

Posted on 2009-05-08
6
144 Views
Last Modified: 2012-05-06
I have a specialized shopping cart written in .ASP and running on top an access database.  Its also compatible with SQL.  I have numerous clients that use this cart and in each case it's configured to a separate database to store their individual inventories.

I am getting ready to re-write the entire thing in ASP.NET and was wondering what the community throught about having all inventories run on top of a single SQL database or should I stick to the issolated database structure either with a ton of simmilar SQL databases or access files?  I've been thinking about pros and cons for these for a while and need to make a decision.

Any advice?
0
Comment
Question by:jglazer63
  • 3
  • 3
6 Comments
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24335854
are you planning to maintain separate database just for shopping cart? I guess it's not a good idea.
0
 

Author Comment

by:jglazer63
ID: 24335874
yes thats how it is now.  Each client runs on two access databases, one for the inventory (which doesn't change all that much) and one for the orders (which changes often and can get quite large).  I am looking at making this more efficient.  From a security standpoint the advantages of separate databases, at least one per client, is obvious.  Also from an integrity point of view (corruption only hurts one client).  I am concerned that if I combine them all together it will get slower and slower as time goes on and the database gets larger and larger.

Still kicking it around in my head...
0
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24335898
I suggest not to maintain two database rather just create one and to share IO load and boost up performance, use partition and more file groups.
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

Author Comment

by:jglazer63
ID: 24340848
Well the question really was should I create a separate database for each client (as it is now) or try to maintain all clients in one db?  
0
 
LVL 31

Accepted Solution

by:
RiteshShah earned 500 total points
ID: 24341608
You should maintain all client in one DB. but you have to have proper security management policy. because more database means, more work, more maintenance, more security and more backup.
0
 

Author Closing Comment

by:jglazer63
ID: 31579426
Thanks!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how the fundamental information of how to create a table.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question