Skip to content

Commit dbae3b0

Browse files
committed
#852 release notes
1 parent 2e5637f commit dbae3b0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/docs/asciidoc/release_notes.adoc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ As part of this fix, there was an incompatible change in the internal GDS-ng API
4646
Various methods and constructors involved in blob handle creation now throw a `SQLException` if the database is not attached or the transaction is null or not active.
4747
See also <<breaking-changes-internal-api-6-0-1>>.
4848
* Fixed: Fetch response with status=0 (FETCH_OK) and count=0 was logged on DEBUG as an unexpected response (https://github.com/FirebirdSQL/jaybird/issues/848[#848])
49+
* Improvement: backported fetching all known blob info items on open from Jaybird 7 (https://github.com/FirebirdSQL/jaybird/issues/852[#852])
50+
+
51+
See also <<blob-performance-info-items>>.
4952

5053
=== Jaybird 6.0.0
5154

@@ -797,6 +800,23 @@ This optimization is available for Firebird 2.1 and higher, but formally only su
797800

798801
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.
799802

803+
[#blob-performance-info-items]
804+
==== Requesting known info items on open
805+
806+
Added in: Jaybird 6.0.1, backported from Jaybird 7
807+
808+
In the pure Java implementation, when an input blob is opened, all known blob information items are requested.
809+
Subsequent blob information requests on the same `FbBlob` handle are fulfilled using the cached information.
810+
If the request contains information items not in the cache, the request is sent to the server.
811+
812+
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>>.
813+
Direct use of `FirebirdBlob.BlobInputStream.length()` or the GDS-ng internal API may benefit from this change.
814+
We're also investigating further changes to the implementation of Jaybird that could benefit from this.
815+
816+
This optimization is available for Firebird 2.1 and higher, but formally only supported for Firebird 3.0 and higher.
817+
818+
For native connections, a similar optimization is available when using a Firebird 5.0.2 or higher fbclient, independent of the Jaybird version.
819+
800820
[#blob-performance-min-buf]
801821
==== Minimum `blobBufferSize` 512 bytes
802822

0 commit comments

Comments
 (0)