Reconsider storing PDF files as BLOBs. Just store them as regular files and store the path to the file in the DB.
With lots of large BLOBs, the database gets bloated, the DB dumps become huge, and it can create problems on platforms with a 2GB file limit, like some versions of Linux.
When you stream a BLOB to a client, you must hold open a DB handle the entire time, and if you try to read the whole BLOB into a Perl variable, you will get a large perl process. Your operating system is designed to store files and you will have a much easier time doing so.
At first glance, SPOPS doesn't seem suited to this task at all. It is a framework for saving Perl objects (complex data structures) to a database. Files are not good things to store in databases.
In reply to Re: Anyone using SPOPS to store BLOBs?
by bunnyman
in thread Anyone using SPOPS to store BLOBs?
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |