When ms matter: Maximizing query performance in CrateDB
06-20, 09:30–09:50 (Europe/Berlin), Palais Atelier

Achieving optimal execution plans in distributed databases is a challenging task. This talk will focus on CrateDB: a distributed SQL database, and key strategies for optimizing its query performance.


Distributed databases provide easy scaling, high performance, and availability crucial to handle large amounts of data. However, achieving optimal execution plans in these systems is often a challenge and requires special considerations. In this talk, we will explore the key concepts and best practices for optimizing query performance in the CrateDB database. CrateDB is a highly scalable and distributed SQL database that offers a unique blend of SQL and NoSQL capabilities. Although the focus of the talk is going to be on CrateDB, most of the techniques we are going to discuss apply to many distributed databases.

As a first step, we will go through query planning to better understand potential bottlenecks. Then, we will discuss the practical implications of indexing, sharding, and partitioning strategies, and provide practical advice on how to further optimize CrateDB queries for optimal performance. All these topics will be covered by real-world examples and practical solutions to some of the most common issues. At the end of the talk, you will be equipped with practical tips and techniques for detecting performance issues and optimizing your queries.

Key learnings:
- Intro to CrateDB and query plans
- How different sharding, partitioning, and indexing strategies affect query performance
- Real-life examples and tips for debugging slow queries

See also: Slides (417.8 KB)

Marija Selakovic is a developer advocate at Crate.io, working with the CrateDB database and various other data engineering tools. She holds a Ph.D. degree in computer science from TU Darmstadt and a Master's degree in software engineering from VU University Amsterdam. As a developer advocate, Marija builds various technical content, speaks at developer conferences, and helps other software developers be productive and successful in using CrateDB.