![]() |
|
"be consistent" | |
PerlMonks |
OT: Images into MySQL databaseby Ryszard (Priest) |
on Jan 23, 2003 at 07:00 UTC ( #229248=note: print w/replies, xml ) | Need Help?? |
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:
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.. :-)
In Section
Seekers of Perl Wisdom
|
|