Tripling streaming pipeline throughput by monitoring and debugging MySQL inefficiencies
Aug 10, 2026

Summary
This post details the debugging and optimization of MySQL read inefficiencies within Glean's streaming pipeline. It describes how monitoring revealed that large offsets in parallel MySQL queries led to significantly increased read latencies. The core technical contribution is the identification of MySQL's behavior with large offsets and the implementation of a query modification to force late row lookups, resulting in a tripling of pipeline throughput.
More from the Enterprise Data Crawler trail
- Why building a workplace ChatGPT requires a great crawler
- Unlock rich insights across your entire business and BigQuery environments with Glean’s new structured query agents
- Using our identity schema to deliver personalized, permissions-aware results
- What is an intranet search engine, and what should modern enterprise search actually do?
- Make every business decision a better-informed one with Glean's Deep Research