Re: To store or not to store . . .

From: Date: Thu, 25 Apr 2002 00:07:31 +0000
Subject: Re: To store or not to store . . .
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94476@lists.php.net to get a copy of this message
Store a link to the file! Mainly because filesystems are designed to store, er.. files ;-) There's a note on Mysql's manual, under Optimizations, that recommends this. -- Julio Nobrega. Tô chegando: http://www.inerciasensorial.com.br "Php List" <php_list@ibcnetwork.net> wrote in message news:051c01c1ebea$165b2070$01c8c8c8@ibcserver.local... > Hi, > I was wondering about the following: > Should I store a picture directly in a MySQL table? Or just store the link > to a file on the system somewhere? > > I would think that leaving the picture as an actual file and just storing > the link would be quicker. But what are the dis/advantages of storing right > in the table? I like the idea of not cluttering up my file system. Pictures > would only be about in the 20K range. > > Thanks, > Chris >

« previous php.general (#94476) next »