FB3 : How to set wirecompression to true

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for InterBase & Firebird in Delphi and C++Builder
Post Reply
ricolebo
Posts: 40
Joined: Tue 12 Feb 2008 12:30

FB3 : How to set wirecompression to true

Post by ricolebo » Mon 03 May 2021 13:34

Hello,

I want to enable wirecompression on FB3
This setting must be done at client side
Is it possible to set this parameter with the actual DBExpress driver ?

Parameter could be like this : Connect.Params.Values['config'] := 'WireCompression=true';

I found informations about this here : https://stackoverflow.com/questions/539 ... rebird-3-0


Thank you
Eric

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: FB3 : How to set wirecompression to true

Post by ViktorV » Fri 07 May 2021 13:32

Hi Eric,

To enable WireCompression on client side, you should add the string "WireCompression=True" in the parameters of the Delphi TSQLConnection component.
In order for compression to work correctly, you should use the zlib1.dll library, bit depth of which should corresponds to bit depth of your application. Please place the required zlib1.dll library in the directory with your executable file and make sure that your application starts useing it when calling the Connect method.
Note, in order to determine whether your application uses zlib1.dll you can use a third-party utility, e.g. Process Explorer.

Regards,
Viktor

Post Reply