Re: [PHP] suggestions for binary data in database

2001-04-30 Thread Jason Stechschulte

On Fri, Apr 27, 2001 at 03:24:36PM +0200, Ray Hilton wrote:
 However, on the site, i am currently storing images in the database, purely
 because i can.  But i wonder, how much will the server load be affected when
 pulling binary data out of the database?  compared to the file system?  i
 assume its going to be quite a lot higher.  DO you reckon it would be better
 to scrap that and store the images on the file system?

Yes, I certainly reckon that.  Using the database can make organizing
them easier, but I usually find it pretty easy to store images on the
file system and only put the directory structure, filename in the
database.  It is much easier on the database too.

-- 
Jason Stechschulte
[EMAIL PROTECTED]
--
Unix is like a toll road on which you have to stop every 50 feet to
pay another nickel.  But hey!  You only feel 5 cents poorer each time.
 -- Larry Wall in [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] suggestions for binary data in database

2001-04-27 Thread Ray Hilton

Hi,

I have a site, http://rayh.co.uk which is basically my personal home page
and nothing more than a hobby.

However, on the site, i am currently storing images in the database, purely
because i can.  But i wonder, how much will the server load be affected when
pulling binary data out of the database?  compared to the file system?  i
assume its going to be quite a lot higher.  DO you reckon it would be better
to scrap that and store the images on the file system?

Ray Hilton



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]