Database / ScyllaDB Interview questions
How do you troubleshoot high read latency in ScyllaDB?
- Check for wide partitions - a large partition takes longer to scan and can dominate latency for that key.
- Check tombstone counts in query tracing - excessive tombstones force reads to skip past dead data.
- Review the consistency level - QUORUM or ALL reads pay more coordination latency than ONE or LOCAL_QUORUM.
- Look at SSTable count per read - a high count (common with STCS under heavy churn) suggests switching to LCS or tuning compaction.
- Check cache hit rates - frequent misses on the row/key cache push more reads to disk.
- Confirm the driver is shard-aware - a non-shard-aware driver adds an internal hop on every request.
ScyllaDB's built-in tracing (TRACING ON in cqlsh, or the Monitoring Stack's per-query breakdown) is usually the fastest way to see exactly where time is going for a specific slow query, rather than guessing from cluster-wide metrics alone.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
