Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Does deleting msgs cause the forum to get slow?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Does deleting msgs cause the forum to get slow?

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


Joined: 15 November 2004
Location: United States
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote chong67 Quote  Post ReplyReply Direct Link To This Post Topic: Does deleting msgs cause the forum to get slow?
    Posted: 29 January 2008 at 9:18pm
I am just wondering:
 
If you delete msgs here and there, will the forum get slower?

I get my idea because its like a disk.  As you delete files here and there, the hard drive starts to get frag. So you need to do a defrag on your hard drive.
 
But I dont know how to defrag a database.  Does deleting msgs make it worst?

 
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 16 February 2008 at 1:02am
Since no one answered this topic.....

Deleting topics will not slow it down. It will shrink your database and most likely make it slightly faster; even more so with Access since an Access DB sucks for a production website.

If your using MySQL or MSSQL you really dont need to delete topics because WWF was built to handle hundreds of thousands of topics.
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: 16 February 2008 at 9:12am
Just to add to what MadDog said. Access databases do not auto shrink when you delete data from an Access database it doesn't actually free up diskpsace.

Instead what you have to do with Access is compact and repair the database. This is were the Access database is rebuilt thus freeing up diskspace and speeding up the database.
Back to Top
electricscooter View Drop Down
Newbie
Newbie


Joined: 13 March 2008
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote electricscooter Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2008 at 1:31am
Also on access, it will bloat just from adding records, if you use the dsnless connection, I tested this on a website that got  GPS tracking every 10 seconds for 2 vehicles, the records coming in cause a geometrically inceasing bloat using a particular (and most popular) db engine setup for webservers, I tried a different approach and it solved the problem and the bloat on add stopped, now if I can only remember what the solution was.... :)
 
I will go back and look and post, not all web providers support it, but for the ones that do, the other connection I chose worked hands down 100 times better for speed and stopping bloat on add.
 
If your access dn is deleting records, you must compact it to regain the space and make the file smaller, and when you compact it, things may slow down until it gets used as any queries that are stored and executed in the db have to rebuild their btree on first use.
 
That wont effect 99.9% of you because you put your SQL in your ASP, and you shouldn't, you can do stored procedures in access (a query built and saved in the db) and call it from asp, makes your sql in access run 100 times faster once you learn how to do it.
 
As for access sucking, heard that for years, been running production sites with 200 plus users that go in via access gui simulataneously with no problems, just have to know how to set it up and configure it properly.
 
As for a backend for a webserver, it also works great and is a cheap alternative for most.
 
I have used it since 98 in a LOT of development systems that went production and have had zero problems that we couldn't research and solve.
Back to Top
billd3 View Drop Down
Senior Member
Senior Member


Joined: 19 February 2003
Location: United States
Status: Offline
Points: 530
Post Options Post Options   Thanks (0) Thanks(0)   Quote billd3 Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2008 at 3:16am
Originally posted by MadDog MadDog wrote:



If your using MySQL or MSSQL you really dont need to delete topics because WWF was built to handle hundreds of thousands of topics.


EXCEPT that many hosts allow so much size for the SQL database, and if you exceed that, you either pay for another DB/more space or shrink it.
Not sure about the database itself in our case, but the backup file is over 28meg. I see we're limited to 150 meg. That 28 came in 8 months. So in 2 to 3 years, we could outgrow the allowed SQL database............ then what? (one host said it didn't matter- SQL database no matter the size, but some say "xxx meg SQL database(s)
BillD
http://theamcpages.com
http://theamcforum.com
Back to Top
electricscooter View Drop Down
Newbie
Newbie


Joined: 13 March 2008
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote electricscooter Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2008 at 6:50am
I have run access up to the 1 gig file limit and it worked fine.
 
I have one that was in Oracle and was used for billing, it was a gig, we redesigned and ported it to Access, it shrank to 1/4 gig due to the efficincy of the new database schema and we have used it at 1/4 gig every month to do the billing since 2000 no problem.
 
Those that think it can't handle big size file jobs just don't understand the application.
 
What we saved in Oracle costs was a person and a half's salary each year, over 150k
 
Before MS started pushing SQL server, they made a lot of claims about access, and they were true, once they started pushing sql server, ms started denouncing access, because you can't license it on a per user per cpu basis and make billions, like you can with sql server and oracle.
 
If you have a multi-user intensive site or handle online transactions, then you need something more robust, but for a forum ?
 
Please .....
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: 13 March 2008 at 2:39pm
The size of the Access database is not important the issue, as see forums with 1Mb Access databases fallover, and then see others with over 500Mb databases plod along fine.

For your billing system Access maybe fine, but when used as the backend for a forum it's just not up to the task.

Forums, especially busy forums, place allot of strain on the database with many reads and writes to the database.

The problem with Access is it is not designed for the intensity that a web application can place on it, and support tickets from users who's Access database has fallen over is very common. Yet never yet heard of a mySQL or SQL Server database becoming corrupted.

There are also lost of other issues with the use of Access databases, one of the main ones is that it doesn't allow remote connections and also courses allot of disk I/O. In the web hosting environment this is not good as it courses the web server, which usually mainly reads from the disk to have high I/O everytime an Access database is used on a web server, thus slowing down the whole server, which is not good. When fault finding on production web servers with monitoring tools I often see the negative effects Access has on web servers, which is why we try and discourage the use of Access altogether by giving our hosting clients free SQL Server databases with their hosting packages.

You also have security aspects in using Access databases, as many people do not sufficient secure the database file, which often leads to hackers downloading and getting their hands on sensitive information.

Other issues to consider with Access is the slower performance, paging, etc. it is very resource intensive.

The reason why MS pushed Access was they didn't have another database at the time that didn't cost lots of money to use with their IIS web server. Now they have a free edition of SQL Server things have changed.

Microsoft are now pushing their 64bit OS's and Windows Server 2008 is the last 32bit server OS they will do. The problem with this is that MS are not making a 64bit OBDC driver for Access, so it looks like in future you may not be able to use Access anyway for web sites.


Edited by WebWiz-Bruce - 13 March 2008 at 2:56pm
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: 13 March 2008 at 2:49pm
Originally posted by billd3 billd3 wrote:

Originally posted by MadDog MadDog wrote:



If your using MySQL or MSSQL you really dont need to delete topics because WWF was built to handle hundreds of thousands of topics.


EXCEPT that many hosts allow so much size for the SQL database, and if you exceed that, you either pay for another DB/more space or shrink it.
Not sure about the database itself in our case, but the backup file is over 28meg. I see we're limited to 150 meg. That 28 came in 8 months. So in 2 to 3 years, we could outgrow the allowed SQL database............ then what? (one host said it didn't matter- SQL database no matter the size, but some say "xxx meg SQL database(s)


We pickup web sites from these web hosts that offer so called 'unlimited resources' all the time. They are usually the worse offenders as they advertise unlimited resources but then kick off users or throttle them at very low resource usage claiming that they are using to many resources on the server and are in breach of the Acceptable Use Policy AUP.

If a web host ever offers unlimited resources, then these are the hosts to avoid. If you know what their real internal resource limits were you wouldn't go near them.

Diskspace on properly setup SQL Servers with decent RAID SCSI harddrives costs around $30 per gig (and thats just the diskpsace), and if your hosts makes backups then this would be even higher.

Many hosts do allow you to purchase extra diskspace at very reasonable prices if you need further space, you should contact your host to findout.
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.