r/SQL • • 3d ago

PostgreSQL Have u run Databricks Lakebase for AI agent RAG…

If you have, how did Postgres vector + BM25 search hold up in prod As compare to a dedicated vector DB, specially on cold starts?

0 Upvotes

2 comments sorted by

1

u/Discordbothost 3d ago

I'd time connect + SELECT 1 right after Lakebase suspends, then run the same hybrid query twice on that connection. That gives you separate numbers for compute wake-up and the first vs repeat search.

1

u/Glitch_In_The_Data 1d ago

Yes. For an internal support agent, and the hybrid search was one of the useful things. Having the lakebase vector and lakebase text in the same Lakebase Postgres meant we could filter by tenant and join back to app tables in one query which was clunky with a separate vector DB. Cold starts are the real catch. When scale to zero kicked in, the first query had to wait for compute to wake up and for the index to load back into memory. So, for prod, we set a minimum compute size that never scales to zero and latency stayed steady after that.