Page 1 of 1

Database size and Image locations?

Posted: Tue Mar 11, 2008 9:15 am
by Richie_S
Hi

I'm looking for some info on where the site images are stored. Are they stored in the database or are they just referenced in the database. I have just put a site together for a not for profit organization and it turned out that they only have a 2meg database. They still have some time until their hosting contract runs out.

I'm hoping that the images are stored seperatly otherwise I will have to find a different method for them to upload their images. Any ideas?

Cheers,

Richie

Re: Database size and Image locations?

Posted: Wed Mar 12, 2008 10:11 am
by scooper
Images uploaded via the CMS are stored on the server and not in the database. By default they go in to the uploads/images folder

I don't know of any binary data that gets stored in the database but it's possible that some modules use the db.

So -  you should be all right with a 2Mb database, but.... it does depend on the size of your site and the number of modules you have installed.  I've just taken a look at a couple of databases here and a minimal instal of the CMSMS has a db size of about 100Kb, and most come in about 300Kb but I also have sites that are quite a bit larger.
The biggest one I've found so far is 3.2Mb - this site has about 135 pages but does have a few modules and different templates installed. 

You'll probably be ok as long as the site isn't huge and you keep it tidy....

s.