
Explore how to optimize SQL with single store db cloud by designing efficient schemas and queries that leverage distributed architecture, partitions and sub partitions, sharding, and flexible parallelism.
Learn how choosing shard keys and managing cardinality affects data skew and query performance in SingleStore db cloud tables, including joins and partitioning.
Explore SingleStore columnstore technology, including sub partitions and column segments, enabling fast on-disk reads via segment elimination and sub segment access, plus bulk inserts and high compression up to 90%.
Explore row store performance in single store db cloud with a demo on sparse compression for wide tables with many nulls; compare row store to column store for complete rewrites.
Explains how explain and profile work in SingleStore, detailing the execution plan, resource metrics, and json mode outputs for tuning using sharded and reference tables.
explore the four phases of a query execution plan in sql optimization with SingleStore, from scans and filters to joins, data movement, and gather operations.
In this course, you'll learn about SingleStoreDB architecture and how to get the best performance from your SingleStoreDB Cloud workspaces and databases. The course includes lectures and demonstrations to introduce concepts, and hands-on labs and knowledge checks to reinforce learning.
Topics include:
SingleStore architecture - how SingleStore's architecture functions; the different types of storage supported in SingleStore; and schema design strategies, such as the use of sharding and shard keys, indexes, and more.
Query optimization, specifically on optimizations in distributed systems like SingleStore.
Benchmarking tools to monitor the performance of our queries and discover opportunities for improvements.
Labs are hands-on, and require access to a free SingleStoreDB Cloud trial. The first lab of the course includes instructions on how to set up an account if you don't have one, and how to launch a workspace.
By the end of this course, you will:
Understand the key concepts of SingleStoreDB architecture
Know how and when to use sharding and indexing best practices
Be familiar with the tools you can use to gather and analyze information about query performance
Review performance statistics to understand where to optimize queries
Employ methods of query optimization to improve performance
Understand the benefits of benchmarking
Prerequisites: Students who choose to enroll in this course should have:
SQL skills, which will be used in the labs
Understanding of relational databases