incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aklin_81 <>
Subject Re: Column name size
Date Fri, 11 Feb 2011 11:51:14 GMT
Would be interested in your findings, Patrik! ...

I too was searching for something similar a few days back.. for column
names that contained userIds of users on my application. UUIDs that
seemed to be most widely recognized(perhaps!)  solution are 16 bytes
but those definitely seem like a too much for the heavy denormalized
databases. It definitely makes sense to attempt to reduce the size as
storage may although be cheap but you also need to cache your data, so
(I guess) reduction in the size of your column names, ids etc could
actually matter a lot depending on the size of your actual data/column

I was suggested by some people here, to try out solutions like
Zookeeper or snowflake, to generate sequential ids, that could be used
as alternative for UUIDs in some cases.


On Fri, Feb 11, 2011 at 3:36 PM, Patrik Modesto
<> wrote:
> Hi all!
> I'm thinking if size of a column name could matter for a large dataset
> in Cassandra  (I mean lots of rows). For example what if I have a row
> with 10 columns each has 10 bytes value and 10 bytes name. Do I have
> half the row size just of the column names and the other half of the
> data (not counting storage overhead)?  What if I have 10M of these
> rows? Is there a difference? Should I use some 3bytes codes for a
> column name to save memory/bandwidth?
> Thanks,
> Patrik

View raw message