PDA

View Full Version : Do databases save space?



kosi
06-14-2007, 02:49 PM
If I save things like flv files and jpg files in a database, will this save space on my server?

Twey
06-14-2007, 04:37 PM
No. It'll also increase access times.

kosi
06-14-2007, 08:33 PM
So there's no advantage to using a database rather than storing things as files on a server?

Twey
06-14-2007, 10:39 PM
They're still stored as files on the server if you enter them into your database. The usual approach is to save them onto your filesystem normally, then store a path in the database.