Skip to content

Commit 25b48cc

Browse files
committed
#851 release notes
1 parent 0bdf1ab commit 25b48cc

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

src/docs/asciidoc/release_notes.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,23 @@ This optimization was backported to Jaybird 5.0.7 and Jaybird 6.0.1.
426426

427427
For native connections, a similar optimization -- but only for reading blobs -- is available when using a Firebird 5.0.2 or higher fbclient, independent of the Jaybird version.
428428

429+
[#blob-performance-info-items]
430+
==== Requesting known info items on open
431+
432+
In the pure Java implementation, when an input blob is opened, all known blob information items are requested.
433+
Subsequent blob information requests on the same `FbBlob` handle are fulfilled using the cached information.
434+
If the request contains information items not in the cache, the request is sent to the server.
435+
436+
For access through JDBC, this optimization has little to no effect, as one of the few times Jaybird itself requests blob information is immediately after opening the blob, which is optimized by the <<blob-performance-defer-open,deferred blob open>>.
437+
Direct use of `FirebirdBlob.BlobInputStream.length()` or the GDS-ng internal API may benefit from this change.
438+
We're also investigating further changes to the implementation of Jaybird that could benefit from this.
439+
440+
This optimization is available for Firebird 2.1 and higher, but formally only supported for Firebird 3.0 and higher.
441+
442+
This optimization was backported to Jaybird 5.0.7 and Jaybird 6.0.1.
443+
444+
For native connections, a similar optimization is available when using a Firebird 5.0.2 or higher fbclient, independent of the Jaybird version.
445+
429446
// TODO add major changes
430447

431448
[#other-fixes-and-changes]

0 commit comments

Comments
 (0)