I have created one test cluster and created table which has default_time_to_live = 3600.
But when i am reading data from the table getting below warning in logs .
ReadCommand.java:430 - Read 34 live rows and 62500 tombstone cells for query SELECT * FROM mytestks.login_token WHERE dept_id = 0 AND user_id = 1 LIMIT 5000 (see tombstone_warn_threshold)
Shall i change compaction method or change gc grace period in order to solve the same?
Due to this i am not getting faster results could you please guide me to solve?
Please find table desc below for your reference.
) WITH CLUSTERING ORDER BY (user_id ASC, token_id ASC) AND bloom_filter_fp_chance = 0.01 AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} AND comment = '' AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'} AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'} AND crc_check_chance = 1.0 AND default_time_to_live = 3600 AND gc_grace_seconds = 345600 AND max_index_interval = 2048 AND memtable_flush_period_in_ms = 0 AND min_index_interval = 128 AND speculative_retry = '99PERCENTILE';