Bug #63441 Ability to load a subset of a BLOB into memory
Submitted: 26 Nov 2011 21:07 Modified: 27 Nov 2011 8:38
Reporter: Gili T. Email Updates:
Status: Verified Impact on me:
Category:MySQL Server: C API (client library) Severity:S4 (Feature request)
Version:5.5.18 OS:Any
Assigned to: CPU Architecture:Any

[26 Nov 2011 21:07] Gili T.
Follow up on bug #15089, we need the ability to load a subset of a BLOB into memory. BLOBs are meant to be used for large data, we don't want to load the entire thing into memory every time.

How to repeat:
Use java.sql.Blob.getBytes() to retrieve the 10 bytes in the middle of a 1GB file. Memory usage should be some small multiple of 10 bytes.
[27 Nov 2011 8:38] Valeriy Kravchuk
Thank you for the feature request.