Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Database size
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Database size

 Post Reply Post Reply Page  12>
Author
freakyfred View Drop Down
Groupie
Groupie


Joined: 29 March 2007
Location: United Kingdom
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote freakyfred Quote  Post ReplyReply Direct Link To This Post Topic: Database size
    Posted: 24 February 2010 at 8:26am
I have just got an email from my host stating that my access database is way to big at 30mb and that it neds to be compressed to below 5mb.. which is impossible as far s i can see. So what i was wandering is 30mb big for a access database to be running on a shared server??


Thanks
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2010 at 10:24am
Yes most hosts have a limit of around 10MB. This is because web servers have disk systems for fast reading, databases need fast reading and writing

If you have large Access databases on a web server it places strain on the server and slows down all the websites on that server.

This is why SQL Server and mySQL are usually separate from the web server using a very different physical system to that of the web server.

Your only option would be to delete most of the posts from your forum, or look to migrate to SQL Server.

The Access version is only intended for very small forums with just a handful of users or for pre-production testing.
Back to Top
freakyfred View Drop Down
Groupie
Groupie


Joined: 29 March 2007
Location: United Kingdom
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote freakyfred Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2010 at 10:42am
Thanks bruce.

I never intended for the forum to get so big. i will have to look into the migrate option i think.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2010 at 10:27pm
An access DB is really just one large file. Deleting information from it doesn't actually remove space from the file, it just flags the space as unusable.They always grow larger.

The MS Access program has tools to compact and repair the data base - which basically re-writes and re-indexes it without all the unusable space. You can also compact and repair an access db with an asp script. - Google: compact access database with asp.

This may or may not reduce the db size to acceptable limits for the server. It will improve end user response performance.

Your ultimate solution is to migrate to MSSql. MySql is an option but complicates the migration process even more.

EDIT: Whether you use the MS Access program, or an asp script, shut down the forum and back up the db first. Having users update the db while compacting is not good.


Lead me not into temptation... I know the short cut, follow me.
Back to Top
aladin11 View Drop Down
Groupie
Groupie


Joined: 10 October 2009
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote aladin11 Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2010 at 3:09am
Originally posted by dpyers dpyers wrote:


The MS Access program has tools to compact and repair the data base - which basically re-writes and re-indexes it without all the unusable space. You can also compact and repair an access db with an asp script. - Google: compact access database with asp.

WWF has built-in compact tool. Login to Admin control panel and look at "Compact Database"

Back to Top
freakyfred View Drop Down
Groupie
Groupie


Joined: 29 March 2007
Location: United Kingdom
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote freakyfred Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2010 at 10:36am
I have done all that but thanks guys. Even if i clear out alot of old posts it won't do much good for long.

I need to convert. Can someone point me in the right direction for this please?

thanks
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2010 at 11:56am
Use the Microsoft Access database upsize wizard to upsize the database to SQL Server.
Back to Top
coffeeshopper View Drop Down
Newbie
Newbie


Joined: 17 December 2009
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote coffeeshopper Quote  Post ReplyReply Direct Link To This Post Posted: 26 February 2010 at 5:25pm
I have significant experience with MS Access database scalability.

The only hard limits are 2GB in overall size...and the maximum number of concurrent connections. When too many people connect at once, the IIS connection/Access DB will crash. The only way to resolve this is to restart the IIS Application pool that the site is in.

Ideally, you would want to use SQL Server instead of access. However, I have a heavily used web application with multiple concurrent users that is 1.55GB in size. It works just fine (except for some sporadic crashes due to too many connections). This database has been in production for 8 years.

If your host is limiting you to a maximum of 5MB, I would definately recommend switching providers. That arbitrary limit is ridiculous. It would only make sense if the server were ridiculously overloaded with resource intensive sites. A 30MB Access file should NOT be a problem for them.

On one of my servers, I'm running old school technology (Dual 2.8 Xeon) with RAID1 15 SCSI drives...and I can tell you that one database (at 30mb) will have a negligible affect on resource usage. That is absolutely the case...unless the applications are coded poorly. Then all bets are off. By putting sites into isolated application pools web hosts should be able to tell who is the culprit eating resources on their servers.

That being said, I run my own servers and have RDP access to restart the site application pool in the very rare case that the connection crashes.
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.