cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Bernardi <berna...@gmail.com>
Subject Re: store large String as col value
Date Wed, 20 Jun 2012 21:22:54 GMT
Take also into account Thrift's limits.

http://wiki.apache.org/cassandra/CassandraLimitations

Paolo
On Jun 20, 2012 10:11 PM, "Dave Brosius" <dbrosius@mebigfatguy.com> wrote:

>
> Column values are limited at 2G.
>
> Why store them as Base64? that just adds overhead. Storing the raw bytes
> will save you a bunch.
>
>
> *----- Original Message -----*
> *From:* "Cyril Auburtin" <cyril.auburtin@gmail.com>
> *Sent:* Wed, June 20, 2012 13:38
> *Subject:* store large String as col value
>
> In order to store picture, transfered as a base 64 encoded String in the
> message
>
> I wanted to ask, what is the limit for column values (since the wiki is
> down just now)
>
> the row has a limit of 2GB, it should be enough for pictures, but a single
> column Row, has als o a limit of ~2GB?
>
> Is it critical with replication? Is it better to cut down the String in
> shorter pieces and store them in different rows to support more easily
> read/write towards replication?
>

Mime
View raw message