Skip to content

Commit 72ebf05

Browse files
committed
#853 release notes
1 parent 1a3c139 commit 72ebf05

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

src/docs/asciidoc/release_notes.adoc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ For details see:
5959
* <<blob-buffer-size>>
6060
* <<blob-put-segment-limit>>
6161
--
62+
* Improvement: backported fetching all known blob info items on open from Jaybird 7 (https://github.com/FirebirdSQL/jaybird/issues/852[#852])
63+
+
64+
See also <<blob-performance-info-items>>.
6265
6366
[#jaybird-5-0-6-changelog]
6467
=== Jaybird 5.0.6
@@ -834,6 +837,23 @@ This optimization is available for Firebird 2.1 and higher, but formally only su
834837

835838
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.
836839

840+
[#blob-performance-info-items]
841+
==== Requesting known info items on open
842+
843+
Added in: Jaybird 5.0.7, backported from Jaybird 7
844+
845+
In the pure Java implementation, when an input blob is opened, all known blob information items are requested.
846+
Subsequent blob information requests on the same `FbBlob` handle are fulfilled using the cached information.
847+
If the request contains information items not in the cache, the request is sent to the server.
848+
849+
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>>.
850+
Direct use of `FirebirdBlob.BlobInputStream.length()` or the GDS-ng internal API may benefit from this change.
851+
We're also investigating further changes to the implementation of Jaybird that could benefit from this.
852+
853+
This optimization is available for Firebird 2.1 and higher, but formally only supported for Firebird 3.0 and higher.
854+
855+
For native connections, a similar optimization is available when using a Firebird 5.0.2 or higher fbclient, independent of the Jaybird version.
856+
837857
[#blob-performance-min-buf]
838858
==== Minimum `blobBufferSize` 512 bytes
839859

0 commit comments

Comments
 (0)