cassandra-web icon indicating copy to clipboard operation
cassandra-web copied to clipboard

auto-fetching all table rows causes performance problems

Open bmrobin opened this issue 6 years ago • 1 comments

When you open a table the default behavior is to run SELECT * FROM {keyspace}.{table}. This crashed my browser because the table I happened to click on in my database had over 100K rows in it. Since this was one of the smaller tables in the keyspace I was working with I quickly realized that the default behavior of selecting all rows wasn't going to work for me. I forked the repository and implemented a default behavior of getting the first 15 rows, with the ability to modify this number or disable it entirely.

bmrobin avatar Oct 17 '18 20:10 bmrobin

#13

bmrobin avatar Oct 17 '18 20:10 bmrobin