Re: [SLE] File Server
From: Tom Allison (tallison_at_tacocat.net)
Date: 02/23/04
- Previous message: Carlos E. R.: "Re: [SLE] Probably stupid question - how to judge veracity of these posts?"
- In reply to: Javier Omella: "Re: [SLE] File Server"
- Next in thread: John: "Re: [SLE] File Server"
- Reply: John: "Re: [SLE] File Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 23 Feb 2004 08:16:17 -0500 To: Javier Omella <jota.suse@developers.com.py>
Javier Omella wrote:
> John dijo:
>
>>Everything must be done via perl.
>>
>>I have already download vsftp for trasferring the files (Net::FTP) BUt
>>is it a good idea to store gifs (~100 Kb) in a Mysql database or to
>>store the images in the file system directly?
>>
>
>
> I donīt think it is a good idea, some guys maybe think is ok but in my
> personal experience is more slow and you have much development, and in the
> future if for some reason you are adding more weight images, your system
> will be even more slow. Maybe in DB like Oracle or M$SQL with store
> procedures!!
> Security? yes, it is more secure in the DB, but, itīs just question of
> doing things right
>
> Maybe someone here have a different experience than me, and can share it.
>
> cheers.
>
> Sorry, my english sucks :)
>
Even in Oracle this is a really bad idea.
I know because I had this conversation with someone who is an Oracle DBA
last week about it.
You store the links to the images (/var/spool/pictures/winter/p001.jpg)
before you store the body in the database.
This way you can do a few things with the database.
Back up is easier because you don't have to manage a binary block of
data that never changes.
You can visually verify that the images called are the images seen.
You can do debugging more easily by keeping the images in a space that
is readily accessable for you to look at.
Putting it into a database gaurantees that you will never be able to
debug it without building a bunch of software to pull the image out of
the database for you, but that software has to be 100% bug free...
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Carlos E. R.: "Re: [SLE] Probably stupid question - how to judge veracity of these posts?"
- In reply to: Javier Omella: "Re: [SLE] File Server"
- Next in thread: John: "Re: [SLE] File Server"
- Reply: John: "Re: [SLE] File Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|