You should change read_request_timeout in cassandra.yaml file.

Default is 5 sec

But it is not recommended to do count in cassandra better if u can avoid it


On Fri, Aug 24, 2018, 4:06 PM Vitaliy Semochkin <vitaliy...@gmail.com>
wrote:

> Hi,
>
> i'm running count query for a very small table (less than 1000 000
> records).
> When the amount of records gets to 800 000 i receive read timeout
> error in cqlsh.
> I tried to run cqlsh with option --request-timeout=3600, but receive same
> error,
> what should I do in order not to recieve timeout exception?
>
> Regards,
> Vitaliy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
> For additional commands, e-mail: user-h...@cassandra.apache.org
>
>

Reply via email to