Why does DevCenter of Datastax has row restrictions to 1000?
Asked Answered
E

4

0

There is a limit of displaying 1000 rows for the tables in Datastax Devcenter. Any reason for having this option?

Because when queried as SELECT count(*) FROM tablename; the performance from Cassandra is going to be same whether displaying 1000 records or complete records set.

Devcenter_rowLimit

Earthstar answered 16/6, 2016 at 14:40 Comment(0)
M
4

DevCenter version 1.6.0 introduces result set paging which allows you to browse all the rows in your result set.

In DevCenter 1.6.0 the "with limit" value sets the paging size, e.g. the number of records to view per page and is still limited to 1000 maximum. However, now you can page forward (and back) through all of the query results.

A related new feature allows you to export all results to a file, either as CSV or INSERT statements. Right-click in the results view area and select "Export all results to File as [CSV|Insert]".

Mcknight answered 3/8, 2016 at 21:15 Comment(1)
Paging is done using the two arrows at the bottom right corner under the results window imgur.com/a/keE7mAxletree
M
0

This is by design; consider it as a safeguard that prevents you from potentially fetching thousands or millions of rows by accident, which, among other problems, could have a serious impact on your network's bandwidth usage.

Minuet answered 16/6, 2016 at 17:10 Comment(0)
V
0

When you run the query in Datastax DevCenter 1.6 it displays the 1000 record in result as selected limit but if you export the same result to CSV it will give you all the record which you are looking for.

Ventilator answered 19/8, 2022 at 9:32 Comment(0)
W
-1

I run Datastax Devcenter 1.4.

I run the query with a limit and it provides me the actual count. But LIMIT is limited to maximum value of signed integer (2147483647)

select count(*) from users LIMIT 2147483647;-- ALLOW FILTERING;

Wagers answered 21/6, 2018 at 16:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.