Think about Loose Coupling | |
PerlMonks |
Re: Storing files in a databaseby TomDLux (Vicar) |
on Aug 11, 2003 at 01:06 UTC ( [id://282715]=note: print w/replies, xml ) | Need Help?? |
If you store data but hardly ever read it back, it hardly seems worth storing. Databases are useful when you need to locate moderate sized data in amongst tons of other stuff. Fetching mega-chunks of data will lead to problems about how much you can fetch in one read. Why not store the path to the data in the DB, but leave the file in the filesystem. SQL will provide the path to the file that should be read. --
In Section
Seekers of Perl Wisdom
|
|