cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <>
Subject Re: Purpose of BLOB datatype
Date Mon, 08 Jul 2013 09:44:47 GMT
If you do have blobs, the preferred way is to not encode them in strings at
all, but rather to use prepared statement (which don't involve a conversion
to string).


On Mon, Jul 8, 2013 at 11:07 AM, Pavel Kirienko <> wrote:

> Hi all,
> I am curious why there is BLOB datatype that accepts HEX strings only.
> HEX encoding requires twice as much space as original data, thus it is
> rather ineffective. Instead, base64 encoding with ASCII datatype seems more
> effective in terms of space, and I believe it doesn't impose noticeable
> performance penalty either.
> So, are there any special use cases for BLOBs, or should I give up on them
> and use ASCII + base64 for my binaries?
> Thanks in advance,
> Pavel.

View raw message