Question Vincent Dheilly · Jun 11, 2024

Difference between %Stream.FileBinary and %Stream.FileBinaryGzip

Hello,

With my team, we're evaluating the different streams existing in order to find good pratices for our project using InterSystems IRIS. In doing so, we found that there exists different forms of the same stream with the %Stream.FileBinary and %Stream.FileBinaryGzip classes. We think that the %Stream.FileBinaryGzip takes less space to be stored, but is there other diferences between these two classes and what would you recomend to use ? Is it the same thing for %Stream.FileCharacter and %Stream.FileCharacterGzip ?

Thanks for your help,

Vincent Dheilly

Product version: IRIS 2021.1
$ZV: IRIS for UNIX (Red Hat Enterprise Linux for x86-64) 2021.1 (Build 215U) Wed Jun 9 2021 09:48:12 EDT

Comments

Luis Angel Pérez Ramos · Jun 12, 2024

%Stream.FileBinaryGzip extends %Stream.FileBinary, so they are practically equals, the only difference is the gzip compression and maybe a read process a bit slower with Gzip than just with FileBinary (and this is more a feeling than a fact).

0
Vincent Dheilly  Jun 20, 2024 to Luis Angel Pérez Ramos

Thank you for your response, it will be useful :)

0