The size of your database?

Please support our Social Media and Online Communities advertiser: Get a Free Web Site Analysis!
Reply

Join Date: Jan 2004
Posts: 152
Reputation: floris has a spectacular aura about floris has a spectacular aura about 
Solved Threads: 2
floris's Avatar
floris floris is offline Offline
vBulletin.com Staff

The size of your database?

 
0
  #1
Mar 8th, 2005
Everybody knows that running a forum is easy and hard.

The easy part is installing the software and seeing it work in your browser. Your database is small and it slowly grows during time as you setup your boards' categories and forums. Have more members and when they start to post.

The hard part is managing the board, your members and their posts. Keeping it active by providing content and optimizing your source code, features, options and settings.

The database can grow up to 100mb for a small site, or even above 1000mb for bigger sites and once you hit a million postcount you can be pretty sure your database is getting quite big, especially because of the attachment table.

So, how are you doing? What is your database size and how are you handling it? Are you still able to make a backup through the browser or are you running into errors and need phpmyadmin with gzip turned on; or even require mysqldump to do it properly.

The vBulletin Fan web site is nearing 100.000 posts and just hit 200 mb and attachments are currently stored inside the database.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 193
Reputation: Scribbller is an unknown quantity at this point 
Solved Threads: 2
Scribbller Scribbller is offline Offline
Insane Scribblling

Re: The size of your database?

 
0
  #2
Mar 9th, 2005
My site has around 400,000 posts and 1620+ members the database is 60mb with gzip (without it is 220mb using invision power board), that is just the size of the forum database, the CMS is around 50 mb. I used to back up the database through admin cp but now its practically impossible as more often than not firefox crashes, now I use phpmyadmin, attatchments are stored inside the databse. As far as speed is concerned it is pretty decent alot of time but goes down considerably when the number of online users at one time go above 200.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,056
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: The size of your database?

 
0
  #3
Mar 9th, 2005
Hey Scribbller. May I ask which site you run? The forum you have in your signature only has 65,000 posts. 400,000 is quite the big accomplishment! According to the vBulletin admin panel, the data usage is 320 megs, with 60 megs of attachments, 3 megs of profile pictures, and another 3 megs of avatars.

mysqldump (which I use religiously, set up in a cron job four times a day because you can never backup often enough) currently creates a 450 meg file. Web-based backups stopped working for me a long time ago.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: Jan 2004
Posts: 152
Reputation: floris has a spectacular aura about floris has a spectacular aura about 
Solved Threads: 2
floris's Avatar
floris floris is offline Offline
vBulletin.com Staff

Re: The size of your database?

 
0
  #4
Mar 9th, 2005
Does your cron script only backup, or also archive?
I mean.. no use in having a backup of a hacked forum or corrupted database.
The backups I make are done like this:

siteurl_timestamps_dbname.gz

the 5th dump (oldest) gets removed if the last dump is successful.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,056
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: The size of your database?

 
0
  #5
Mar 9th, 2005
It backs up every 4 hours, and archives a day's worth of backups.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: Jan 2004
Posts: 152
Reputation: floris has a spectacular aura about floris has a spectacular aura about 
Solved Threads: 2
floris's Avatar
floris floris is offline Offline
vBulletin.com Staff

Re: The size of your database?

 
0
  #6
Mar 9th, 2005
Nice
Glad to year you won't be in trouble.
Backup can be an issue in a year from now when your site has doubled!
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 120
Reputation: Libertate is an unknown quantity at this point 
Solved Threads: 0
Libertate Libertate is offline Offline
Junior Poster

Re: The size of your database?

 
0
  #7
Mar 11th, 2005
Although I do not use the same software, I have similar solutions.

Cron job tar/gzips all the web site, dumps SQL db into file which also gets tar/gziped once a day.
I periodically download both files (the web tar.gz and db tar.gz) to my local machine.

Once the site is big enough, I will increase the frequency of backups, and FTP the files to a remote location right after the cron job. Hopefully this will assist me in recovery after crashes whatever the reasons are. I will use the grandfather/father/son rotation.
Reply With Quote Quick reply to this message  
Join Date: Jan 2004
Posts: 152
Reputation: floris has a spectacular aura about floris has a spectacular aura about 
Solved Threads: 2
floris's Avatar
floris floris is offline Offline
vBulletin.com Staff

Re: The size of your database?

 
0
  #8
Mar 11th, 2005
Sounds like a good plan to me
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Social Media and Online Communities Forum
Thread Tools Search this Thread



Tag cloud for Social Media and Online Communities
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC