Home / Companies / ScyllaDB / Blog / Post Details
Content Deep Dive

7 Rules for Planning Your Queries for Maximum Performance

Blog post from ScyllaDB

Post Details
Company
Date Published
Author
ScyllaDB Team
Word Count
806
Language
English
Hacker News Points
-
Summary

ScyllaDB emphasizes optimizing query performance through a series of strategies, as discussed by Shlomi Livne at a ScyllaDB Summit. Livne, with a background in performance and integration from his previous role at Oracle, presented seven rules to enhance ScyllaDB query execution. Key strategies include using prepared statements to reduce repetitive work, enabling paging to manage large data sets efficiently, and selecting appropriate page sizes based on row size for optimal performance. Additionally, he advises caution with multi-partition CQL IN queries and suggests splitting them into single-partition queries for better latency. For full scans, leveraging token ownership and sharding can expedite processes by utilizing all machine cores in parallel. Finally, utilizing various tools such as probabilistic tracing and CQL tracing can aid in troubleshooting and benchmarking the performance of ScyllaDB queries.