in reply to Anyone using SPOPS to store BLOBs?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Anyone using SPOPS to store BLOBs?
by ferrency (Deacon) on Jun 24, 2003 at 18:04 UTC | |
by mvc (Scribe) on Jun 24, 2003 at 22:46 UTC | |
|
Re: Re: Anyone using SPOPS to store BLOBs?
by talexb (Chancellor) on Jun 24, 2003 at 16:28 UTC | |
by particle (Vicar) on Jun 24, 2003 at 17:12 UTC | |
|
Re: Re: Anyone using SPOPS to store BLOBs?
by talexb (Chancellor) on Jun 24, 2003 at 19:27 UTC | |
by bunnyman (Hermit) on Jun 24, 2003 at 20:02 UTC | |
by richardX (Pilgrim) on Jun 25, 2003 at 18:59 UTC | |
by talexb (Chancellor) on Jun 25, 2003 at 19:23 UTC | |
|
Re: Re: Anyone using SPOPS to store BLOBs?
by talexb (Chancellor) on Jun 25, 2003 at 20:12 UTC |