Forum Moderators: phranque

Message Too Old, No Replies

Access vs SqlServer

Access vs SqlServer... which is better for my site?

         

jpmirick

3:02 am on Jul 23, 2001 (gmt 0)



I am currently working on an asp site with a db (to be determined by your responses… either access or sqlServer).

The site will connect buyers and sellers. Buyers would fill out a form detailing what they are looking for. Paying sellers would be about to log in and use this information for sales leads.

The maximum number of buyers filling out the form we would get would be 50 per day.
The maximum number of submissions would be in the hundreds per day.
The maximum number of users that would log in during a day 5000 per day.

These are all orders of magnitude more than we expect but better safe than sorry.

What we would like to know is…
Will access meet our needs? It is easier to work with (I have not used sqlServer) and it is cheaper to get a server with only access support.

I have had people tell me access will be fine into the 100s of thousands of records (far more than we will need). I have also heard that access cannot handle many users at once. Will this be a problem with the numbers mentioned above?

Any insight would be appreciated. As well as links to web resources dealing with this issue.

Thanks so much.
jmirick

evinrude

5:56 am on Jul 23, 2001 (gmt 0)

10+ Year Member



IMO, Access is horrid at being the backend DB of a website. Others have had better luck, I'm sure, but I found Access to be slow, bogging down under small loads within a corporate intranet. Two others doing web development within our group noticed the same thing with their apps. When the apps were ported over to MS-SQL (or Oracle), speeds improved appreciably.

If price is a problem (and the way MS does licensing for SQL recently got worse...) you might want to look into open sourced apps, such as MySQL, or PostgreSQL. You might wanna give them a look, even if price isn't a worry. :)

Woz

6:25 am on Jul 23, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There is no doubt that SQLserver is faster and more robust than Access, but Access can be a good starting point. Then, when your traffic get to large, you can then migrate from Access to SQLserver with not too many changes to your code. I havn't migrated a site to SQLserver myself but I believe it is not too difficult.

Onya
Woz

Bradley

6:37 am on Jul 23, 2001 (gmt 0)

10+ Year Member




Evinrude, how many tables did your Access database comprise of?

TallTroll

9:29 am on Jul 23, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We have some experience of using Access dbs in the backend of e-comm sites, and the controlling factor in the speed of the db is usually the complexity of relationships between the data.

If you have many tables (and particularly if you use external data sources also) and successful operation of the site requires repeated query and update operations to push and pull data to/from the dbase, performance can drop off.

If you've just got a few, fairly simple tables, it might do you fine (at least until the table size becomes an issue)

You would need then to look at data retention policy. Do you need to keep everything for ever, or would a periodic purge of now "stale" data be an option? If so, try to estimate input rates vs purge rates to calculate rate of data growth. From that, and an estimate of data complexity, you could come up with a rough figure for the lifespan of Access, subject to validation by live operational experience

GWJ

9:50 am on Jul 23, 2001 (gmt 0)



A good rule of thumb that I have found is....

If you plan on more than 25 concurrent connections then go SQL instead of Access.

I agree with Woz though if starting small start with Access then migrate to SQL when the time, and budget, is right.

Brian

evinrude

7:10 pm on Jul 23, 2001 (gmt 0)

10+ Year Member



> Evinrude, how many tables did your Access database comprise of?

Couple of situations:

1. 20 concurent connections, one table, ~2000 transactions in 2-3 hours. Slow, but a captive audience and still usable.

2. unmonitored number of concurent connections, one table, less then 300 rows, few transactions, query time was unacceptable when requesting all the rows, with all columns (15). Admittedly, a lot of this was the browser trying to construct the table. However, it sped up a lot after moving it to SQL.

I'll admit, though, that this company often seems to revel in spending whopping loads of cash on MS products and then deciding later to move to something else that costs too much. ;) I'll also admit that both of those were at the beginning of my ASP coding career, and as such, probably not efficiently coded. However, the speed increase in both upon moving to SQL was very noticable. Paticularly in number 2, an unusable app became one of the most used. The code has since been modified to make it even better, of course.

We're trying to convice our dept. head to allow us to move to something such as MySQL or PostgreSQL. The pricing on both MS-SQL and Oracle continues to rise. While they are both excellent DBs, their price has become prohibitive. They have excellent user interfaces that MySQL & PostgreSQL lack, and additional tools, but for our average use/user, they are far beyond what is needed. I still wouldn't recommend Access for anything beyond personal databases or testing (it does make a pretty decent test bed for DB enabled websites where you can control the concurrent connections.) But then again, this is based off of my experiences, which may not be representative. Could also be influenced by my desire to move away from MS products. Why spend the cash on Access or MS-SQL when there are perfectly good free/inexpensive open source alternatives? :)

topdog

4:06 am on Jul 24, 2001 (gmt 0)

10+ Year Member



In my experience, mySQL has been able to handle everything we've thrown at it, and I've spoken to a large number of users who've had equally good experiences with it. I like MS SQL Server and Oracle as well, but they're a lot more expensive. Unless you need advanced features like transactions and snapshot backups, you'd be hard-pressed to do better than mySQL.

Access will work, but it is somewhat inefficient when used as part of a web site. It's also more difficult to maintain should you have to do offline processing that would require downloading, changing, then re-uploading the data file. If you're dealing with a relatively small database or a lightly-used web site, Access should be fine.

mySQL, on the other hand, is client-server technology so it's better in that it's much more scalable for busier/larger sites, and you don't have to download/change/upload the data file at all. Instead, you'd connect to the database in your scripts using ODBC just like it were an Access database. You can also connect to it remotely using ODBC and MS Access has an option to link to such tables (see File ¦ Get External Data ¦ Link Tables).

A lot of web hosting providers offer mySQL support so, depending on your situation, you might only need to ask for it and have an administrator create your tables.

gernerd

2:24 pm on Feb 11, 2002 (gmt 0)



Where can I find the technical differences between Access and SQL Sever. It is understood that SQL Server is faster, but are there other benefits?

Gernerd

adev

5:58 pm on Feb 21, 2002 (gmt 0)

10+ Year Member



In my experience, using Access has led to problems on a web site. It's very slow compared to SQLServer, handling multiple connections is even slower(and when you have multiple people doing updates to the DB you run into errors) I used Access as a starting point for a small e-commerce site several years ago. After switching to SQLServer, most of the problems went away.

adev

6:01 pm on Feb 21, 2002 (gmt 0)

10+ Year Member



oh yeah, check microsoft.com for the specs on each product. I'm not 100% sure how Access changes when going through ODBC drivers, but a normal Access database is supposed to handle something like 250 users at the same time. It will also handle DB's up to 2Gigs. But I do not recommend testing this figures:)

nonprof webguy

7:05 pm on Feb 22, 2002 (gmt 0)

10+ Year Member



Evinrude:

If you're looking for a less expensive way to use MS SQL Server, you might try using a webhoster whose services include SQL Server databases and get the cheaper Developer edition of MS SQL Server, which basically includes the client tools. The downside is you can't be the sa for your SQL Server db.

evinrude

7:12 pm on Feb 22, 2002 (gmt 0)

10+ Year Member



> If you're looking for a less expensive way to use MS SQL Server

Actually, this isn't an issue for me. On our site, we already work with MS SQL and Oracle. We also host our own servers. We are moving away from MS SQL, however, in favor of Oracle. Both have costly licensing, but that doesn't seem to bother the powers-that-be here. :)

For my own personal stuff I use mySQL.