Menu

How Uber Scaled Text-to-SQL to 1.2M Monthly Queries: Inside QueryGPT's Multi-Agent Architecture
📰

How Uber Scaled Text-to-SQL to 1.2M Monthly Queries: Inside QueryGPT's Multi-Agent Architecture

DEV Community: sql·Chethan Ramaswamy·10 days ago
#ShwkUbcN
#devtosql#devto#dev#uber#table
Long article (1221 words) — no AI summary yet.
Reading 0:00
15s threshold

Most Text-to-SQL demos look impressive on a 5-table toy database and fall apart the moment they meet an enterprise data warehouse. The bottleneck isn't SQL syntax—it's context bloat, ambiguous domain boundaries, and tribal schema knowledge .

In their engineering deep dive, QueryGPT – Natural Language to SQL Using Generative AI , Uber shared how they evolved a 2023 hackathon prototype through 20+ iterations into a production system serving ~1.2 million interactive queries per month (with Operations alone driving ~36% of volume), cutting average query authoring time from ~10 minutes down to ~3 minutes .

Here is an architectural breakdown of why naive RAG failed at Uber's scale—and the multi-agent pipeline they built to fix it.

1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.