avalanche123 / cassandra-web

A web interface for Apache Cassandra
http://avalanche123.com/cassandra-web/
MIT License
137 stars 52 forks source link

auto-fetching all table rows causes performance problems #12

Open bmrobin opened 6 years ago

bmrobin commented 6 years ago

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 commented 6 years ago

13