I have 2 tables with exact same data on it.When we run cqlsh query on table 1 output returns within 1 sec whereas cqlsh query on table 2 returns output in 4 seconds.What could be the possible reasons for this.
Bringing together the Apache Cassandra experts from the community and DataStax.
Want to learn? Have a question? Want to share your expertise? You are in the right place!
Not sure where to begin? Getting Started
I have 2 tables with exact same data on it.When we run cqlsh query on table 1 output returns within 1 sec whereas cqlsh query on table 2 returns output in 4 seconds.What could be the possible reasons for this.
Without a copy of the table schema and the query you're running, it's impossible for us to know what's going on with your cluster but my guess is that you're not comparing apples-for-apples.
My suggestion is that you run the query with tracing enabled and see where the request spends most of its time for clues. Cheers!
6 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2022 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use