in reply to InterBase MEMO/BLOB fields, data with size > 1MB
Some DBD::* modules define their own ways to handle large BLOBs. (Well, DBD::Sybase does.) It looks like DBD::InterBase does not.
If you're willing to compile from locally-modified source, with some poking around you're pretty likely to be able to find the 1 MB limit and change it to something more reasonable. That would move the problem, but you'd have to remember to patch it every time you install. With more work you might be able to remove the arbitrary restriction. In which case you could submit the patch back to the DBI (and possibly also the DBD::InterBase) folks.
If what you need is only a little bigger than 1 MB then you could always use Compress::Zlib to deflate data before storing it, and inflate afterwards.
Failing that, one way to work around the issue is to create a table where you store the data across several rows. You could then define a function call to take a large field and divide it into several pieces that you store under some ID. And a reverse function to fetch those rows back and reassemble them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: InterBase MEMO/BLOB fields, data with size > 1MB
by pet (Novice) on May 31, 2004 at 12:04 UTC | |
by tilly (Archbishop) on Jun 01, 2004 at 01:32 UTC | |
by pet (Novice) on Jun 01, 2004 at 11:31 UTC |