I need to know what are the concerns to store data in microsoft access for a web site.
I know we could have a lot of problem
example : - Multiple connection on the database
Thanks
I need to know what are the concerns to store data in microsoft access for a web site.
I know we could have a lot of problem
example : - Multiple connection on the database
Thanks
Access databases (in my experience) seem to be very poor at allocating space so their size grows larger than expected. I've also had data corruption issues.
If someone has the database opened for editing, that could lock other connections out.
While all db's require maintenance, try running the "maintenance" (compact and repair) on an extremely large database (1GB+) and see what happens. Not only will it likely lock users out, but it could very well corrupt the whole thing
Data size is another concern. For larger sizes you need a more serious database engine.
Scalability, availability, backup support.
The problem is that it won't scale - and it really isn't meant to. You have to pick the right tool for the job.
Avoid the trouble now and pick SQL Server (there are free versions - if you qualify for BizSpark you can get powerful free versions), MySQL, or Postgres.
A key problem you will have is availability. Specifically the need to lock the users out to do repairs and make backups, which may not be practical for the 24/7 availability needs of a typical web site.
Concurrency is your #2 concern. A well designed Access DB can often support as many as 50 users, possibly even a few hundred depending on the specific types of access needed (read-only for instance). However, with an app doing a lot of updates you are going to have concurrency headaches much sooner than you would with most client-server type database packages.
Ignore any comments about scalability in terms of DB size. For most applications you won't come close to the limits of MS Access in that regard.
The flip side of the coin is that you add a lot of complexity and cost by switching to a client-server DB. So if you are building a small internal use web-site, Access can be a reasonable choice too. It is all about matching your requirements to the technology.
Something nobody has mentioned is that how well things work with a Jet/ACE back end (there is no such thing as an Access back end from the standpoint of a web site) is that it depends on what interface you use to access its data.
If you use ODBC or DAO, you can run into problems because neither is threadsafe. But Accessed via OLEDB/ADO Classic, you get threadsafe access. Thus, the only viable method for working with a Jet/ACE data store in a web application is OLEDB/ADO Classic.
(I am reporting what Michael Kaplan has said many times, and he has forgotten far more about Jet than I ever knew)