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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rhodesa at us dot ibm dot com
New email:
PHP Version: OS:

 

 [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: Thu Apr 25 06:01:35 2024 UTC