Re: Query on Token range

2023-06-10 Thread ranju goel
Thanks , it helped but also looking for a way to get total number of token
ranges assigned to that node, which i am doing currently manually(
subtracting) by using nodetool ring.

Best Regards
Ranju

On Fri, Jun 9, 2023 at 12:50 PM guo Maxwell  wrote:

> I think nodetool info with --token may do some help.
>
> ranju goel  于2023年6月9日周五 15:09写道:
>
>> Hi everyone,
>>
>> Is there any faster way to calculate the number of token ranges allocated
>> to a node
>> (x.y.z.w)?
>>
>> I used the manual way by subtracting the last token with the start token
>> shown in the nodetool ring, but it is time consuming.
>>
>>
>>
>> x.y.z.w RAC1   UpNormal 88 GiB  100.00%
>> -5972602825521846313
>> x.y.z.w1   RAC1   UpNormal 87 GiB  100.00%
>> -5956172717199559280
>>
>> Best Regards
>> Ranju Jain
>>
>
>
> --
> you are the apple of my eye !
>


Re: Query on Token range

2023-06-09 Thread guo Maxwell
I think nodetool info with --token may do some help.

ranju goel  于2023年6月9日周五 15:09写道:

> Hi everyone,
>
> Is there any faster way to calculate the number of token ranges allocated
> to a node
> (x.y.z.w)?
>
> I used the manual way by subtracting the last token with the start token
> shown in the nodetool ring, but it is time consuming.
>
>
>
> x.y.z.w RAC1   UpNormal 88 GiB  100.00%
> -5972602825521846313
> x.y.z.w1   RAC1   UpNormal 87 GiB  100.00%
> -5956172717199559280
>
> Best Regards
> Ranju Jain
>


-- 
you are the apple of my eye !