Subject Re: [Firebird-Architect] Re: Record Encoding
Author Miroslav Penchev
On Sun, 15 May 2005 11:16:16 +0200, Arno Brinkman <firebird@...>

> Hi All,
> I also think that compression/decompression on already compressed data
> wouldn't hurt too much
> performance, but we need to measure it to be sure. Beside that a BLOB
> field doesn't always contain
> the same type of "data".

Definitely - for example a word file with or without image in file.

> Who knows what in the future gets into the blob. Therefore i don't like
> the
> idea that compression should become an option.

Such option will be useless when the developer does not know what kind of
data user will place in blob field (as my example with Word files). I am
sure that there are cases when developer will know that in field will go
only jpegs (because program is designed to allow only that type of files)
but the best is Firebird engine to "see" that given data can get benefits
from compression or cannot and to decide whether to use compression (and
what type of compression when the engine get rich of them).

Miroslav Penchev