cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: Virtues and pitfall of using TYPES?
Date Sat, 19 Feb 2011 06:14:23 GMT
That doesn't make sense to me.  IntegerType validation is a no-op and
LongType validation is pretty close (just a size check).

If you meant that the conversion is killing performance on your
client, you should switch to a more performant client language. :)

On Fri, Feb 18, 2011 at 9:56 PM, buddhasystem <> wrote:
> I've been too smart for my own good trying to type columns, on the theory
> that it would later increase performance by having more efficient
> comparators in place. So if a string represents an integer, I would convert
> it to an integer and declare the column as such. Same for LONG.
> What I found is that during the write operation, the type conversion kills
> the performance. It's really not too trivial amount of time.
> Has anyone had a similar experience?
> --
> View this message in context:
> Sent from the mailing list archive at

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support

View raw message