in reply to Images into MySQL database
Keep in mind while its pretty cool to keep images and binary data in a database these solutions may be prone to scalability issues (at the very least, its inefficient).
To store binary data in a database you've got two hits:
- Reading the data from the database
- The database reading the data from the disk
The general solution employed is to have a pointer in the database pointing to your file in the filesystem.
Now what you have is a considerable reduction of data in the database which may easy be cached in memory, resulting in a performance increase.
Of course I'm generalising here, there are always exceptions.. :-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: OT: Images into MySQL database
by Coruscate (Sexton) on Jan 23, 2003 at 09:02 UTC | |
Re: OT: Images into MySQL database
by CountZero (Bishop) on Jan 24, 2003 at 21:48 UTC | |
by Ryszard (Priest) on Jan 25, 2003 at 05:59 UTC | |
by CountZero (Bishop) on Jan 25, 2003 at 08:37 UTC |
In Section
Seekers of Perl Wisdom