php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #57338 Streaming of LOB elements
Submitted: 2006-11-02 10:35 UTC Modified: 2007-03-01 16:53 UTC
From: rhodesa at us dot ibm dot com Assigned: kfbombar (profile)
Status: Closed Package: ibm_db2 (PECL)
PHP Version: 5.1.2 OS: SUSE LINUX Enterprise Server 9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 - 40 = ?
Subscribe to this entry?

 
 [2006-11-02 10:35 UTC] rhodesa at us dot ibm dot com
Description:
------------
*LOB fields in DB2 can get quite large and start to eat a lot of memory. My recomendation to remedy this is to allow the ability to stream the *LOB elements. So, a fetch would return an array of values for normal fields and a stream handle in which a user can use fred on. Each fetch would close the old streams and open new ones.

This can be accomplished with maping the functions to a php wrapper class which can call the SQLGetSubString function on a  lob locator. This way users can read the info in chunks.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-12 15:07 UTC] kfbombar at us dot ibm dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 [2007-03-01 16:46 UTC] rhodesa at us dot ibm dot com
Has the new functionality been documented yet? I upgraded my pecl extension but don't know how to enable the streams.
 [2007-03-01 16:53 UTC] kfbombar at us dot ibm dot com
The documentation for the new features is being worked on and will be on php.net as soon as possible.  Sorry for the delay.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 14:01:30 2024 UTC