Re: GD to database directly

From: Date: Sat, 15 Jul 2006 02:52:13 +0000
Subject: Re: GD to database directly
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-239501@lists.php.net to get a copy of this message
This one time, at band camp, "Richard Lynch" <ceo@l-i-e.com> wrote: > I'm more concerned about the disaster recovery of a DB from a crashed > hard drive, which has been cluttered up with binary data, making data > recovery. One of the greatest benifits of binary DB storage is a single point of back up mysqldump db_name > backup.sql -u username -p It really is as simple as that and no need to bother about referential integrity when rebuilding, simple mysql db_name < back.sql -u username -p How much easier does it get? > Then your field storage size has to be large enough. LONGBLOB > Given the number of posts here in PHP-General alone, of people getting > tripped up by these things, I have concluded that cramming images into > the DB is far more trouble than it is worth. > > It *seems* like a Good Idea until you actually do it for awhile, and > then run into all these snags. Oddly enough, I have never run into them. Nor has terraserver which stores hundreds of thousands of images in its db, although not mysql. Kevin -- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote."

« previous php.general (#239501) next »