tabs ↹ over ␣ ␣ ␣ spaces

by Jiří {x2} Činčura

Compression support in FirebirdClient beta

Published 14 Sep 2016 in .NET, C#, Databases in general, Firebird, and SQL

As promised yesterday I have a beta of FirebirdClient with compression support (Firebird 3). It’s available on NuGet.

It needed few iterations of different implementations and also uncovered some bugs on other places. I’ve run maybe hundreds of tests, because the network stream handling was changed and improved, but you never know. That means testing on previous versions of Firebird is welcome as well.

To turn on compression you need to enable it on server with WireCompression = true. Then in connection string set Compression value to True as well, whenever you want to use it.

If you find some unexpected behavior, open a discussion in firebird-net-provider mailing list. If everything is fine, you can leave a comment here or something like that, so I know how much it was tested already.

Note: Also there’s a known issue in Firebird, which you might hit. Just use snapshot build of Firebird 3.0.1.