Skip to content
SingleStore

How SingleStore Learns: Feedback Reoptimization Explained

Sep 25, 202615 min read
Opens singlestore.com
What the post coversAI, from the source post

This post introduces and explains Feedback Reoptimization (FR), a new capability within SingleStore's query optimizer.

  • FR addresses the problem of stale statistics leading to suboptimal query plans by observing actual query runtime behavior (row counts, CPU, memory) and using this feedback to generate and validate improved execution plans.
  • It contrasts FR with traditional statistics-based optimization, highlighting its effectiveness on skewed data.
  • The post details the four stages of FR: observe, identify, replan, and validate, emphasizing the safety mechanisms in place to prevent regressions.
  • Performance results on TPC-H and JOB benchmarks are presented, showing significant improvements, particularly on skewed datasets.
Read the full post on singlestore.com · 15 min (opens in a new tab)