Re: Help with Wide Rows with CounterColumns

2012-04-24 Thread Praveen Baratam
Thank you Aaron. On Mon, Apr 23, 2012 at 2:39 PM, aaron morton wrote: > No. > > CounterColumnType only works with column values, which are not sorted. > Sorting counters while they are being updated is potentially very > expensive. > > You have a few options: > > 1) If the list of counters is sho

Re: Help with Wide Rows with CounterColumns

2012-04-23 Thread aaron morton
No. CounterColumnType only works with column values, which are not sorted. Sorting counters while they are being updated is potentially very expensive. You have a few options: 1) If the list of counters is short (say < 100 columns) get all the columns and sort client side. 2) Run a periodic

Help with Wide Rows with CounterColumns

2012-04-20 Thread Praveen Baratam
Hello All, I have a particular requirement where I need to update CounterColumns in a Row by a specific UID which is the key for the CounterColumn in that row and then query for those columns in that Row such that we get the top 5 UIDs with highest Counter Values. create column family Counters