Re: Access vs SQL
- From: "Gerald Hernandez" <Cablewizard@spam_remove@Yahoo.com>
- Date: Sat, 9 Apr 2005 09:59:08 -0600
"lgbjr" <lgbjr@xxxxxxxxxxxxx> wrote in message
news:exGmoIPPFHA.2144@xxxxxxxxxxxxxxxxxxxxxxx
> Hello All,
>
> I've been developing a VB.NET app that requires the use of a DB. Up to
now,
> I've been using Access. It's a bit slow, but everything works. I'm at a
> point now where I need to decide if I should stay with Access or move the
DB
> to SQL. I'm trying to come up with a list of Pros/Cons for such a move. My
> list is a bit lopsided, as I have very little experience with SQL and
quite
> a bit with Access.
>
<Snipped>
As you have found, sometimes there is no clear winner out of the gate.
As others have mentioned, let's add the 3rd option of MSDE, so the basic
choices we are considering are Access, MSDE, and SQL.
Each of those options can be made to do just about anything you need, with
increased options as you go up the list.
So I propose that instead of basing your decisions on the merits of each DB
engine, consider the needs of your application and customers. Then go down
the list and see which one fits each item and score it.
How many users will need to access the database simultaneously?
Are you using the database primarily as a storage place, or do you have many
updates?
How much data are you storing?
How processor intensive is your application?
Do the customers need to use and/or manage the database outside of your
application?
Access:
Best for single user. But can support many users if necessary.
Pros:
Works great as a storage container. Works best for smaller amounts of data,
say dozens of MB. Although you can get close to 2GB.
Fairly decent if your application is processor intensive.
Works great in low memory environment.
Easy to manage.
Very portable and easy to install just about anywhere.
Cons:
If you have many updates then you need to constantly compact it. The 2GB
limit can be reached fairly easily if you have lots of updates.
Inefficient across a network.
Version updates can be problematic.
Best performance if you use DAO. Future upgrade to MSDE or SQL is not
seemless and requires many code changes.
Can use ADO for near seemless upgrade to MSDE or SQL, but performance is
much less than DAO.
MSDE:
Best for 2-5 users. Can support more, but don't exceed 25.
Pros:
Handles many updates more efficiently than Access.
Can store up to 2GB per database.
No additional cost to your clients.
Near seemless upgrade to full SQL. Usually few, if any, code changes needed.
Cons:
If your application is processor intensive, then you should set up a
seperate server machine. If loaded on the same machine, then the processor
requirements of your application could negate any performance gains.
Requires more memory. If your database is small, can be less efficient than
Access.
Designed to be managed completely by your application. Not easy for clients
to manage.
Less portable than Access.
SQL:
Best for 6+ users.
Pros:
Handles queries and updates very efficiently.
Can store up to 2GB+ (depending upon version, OS, etc) per database.
Can be easily managed and accessed by your clients.
Cons:
Should really have a seperate machine, preferrably a server, dedicated to
it.
Requires a great deal of memory.
Can require significant additional cost to your clients. Need Server OS and
client licensese, SQL Server software, server license, plus client licenses.
I wouldn't consider it portable at all.
It is quite possible that moving up to MSDE might be a great choice.
However, if you really don't need it, it is also quite likely that with
tweaking you could significantly improve the performance of your Access
code. Quite often, simple things like the choice of your Cursor location and
recordset type can have large performance differences when using Access.
Hope this helps.
Gerald
.
- References:
- Access vs SQL
- From: lgbjr
- Access vs SQL
- Prev by Date: Re: How can I let the internet explorer start to navigate in the same windwo?
- Next by Date: Re: arraylist copy
- Previous by thread: Re: Access vs SQL
- Next by thread: Re: Access vs SQL
- Index(es):
Relevant Pages
|