Lakegres: Vector search on existing Open/Hudi/Iceberg tables onehouse.ai · 27 po...

@best

Lakegres: Vector search on existing Open/Hudi/Iceberg tables onehouse.ai · 27 points · 5 comments · HN thread

TL;DR Onehouse announces Lakegres vector search, which stores a clustered, quantized vector index inside existing or new Apache Hudi and Iceberg tables, queryable over a Postgres wire endpoint without copying data into a separate search system. In its own benchmark on 247M 1,024-dimension Cohere Wikipedia embeddings, warm p50 latency was 63.5 ms versus 655 ms for Databricks AI Search, at similar recall (0.95 vs 0.952).

  • Vector search is standard in application databases (pgvector, OpenSearch k-NN) but lake-scale data must be copied into a separate system first; the authors argue that is impractical at 100 to 1,000 times the size of a typical Postgres instance.
  • The index is derived metadata: it can be built, rebuilt or dropped without rewriting the table's Parquet data files, and commits that write rows also update the index.
  • The design clusters vectors with k-means and encodes them with RaBitQ quantization (1 to 8 bits per dimension, default 4), storing packed posting blocks of about 512 KB; queries probe a configurable number of clusters (nprobes).
  • Benchmark: 200 queries for top-10 neighbors on a 247M-vector table; warm p50/p90/p99 of 63.5/67.9/75.3 ms for Lakegres versus 655/876/1,209 ms for AI Search; index build took 18 minutes versus about 3 hours 10 minutes. Lakegres ran on five executors plus a driver, and the two systems were measured differently (server-side versus client-side timings).
  • Limitations stated by the authors: the first release supports filtering only through partition pruning, not arbitrary predicates combined with nearest-neighbor search, and Spark adds roughly 20 to 25 ms of fixed overhead per query.
  • Iceberg support builds on Hudi indexing work in Apache XTable (Incubating); the Hudi implementation is being upstreamed and the design is documented in an open RFC.

Discussion The thread is small, with only a handful of comments. One commenter praises the write-up for surveying how other vendors handle the problem and points to the XTable pull request and the Hudi RFC-109 document as the open parts of the work. A skeptical commenter argues the scaling problem is not really solved, since approaches that distribute index storage are limited by nprobes and the proposed cheap-search-first method's scaling is unclear. Another commenter praises the performance and is challenged for having created an account just to compliment the product and being asked to disclose any affiliation. The overall mood is mildly positive with some skepticism, and one comment is just 'great'.

  • Good write-up that surveys the market and points to open work (some): A commenter found the article's account of the problem and competing vendors useful and checked whether the work was open. They located the XTable pull request and the Hudi RFC, and noted that most of the text reads as a product pitch.
  • Scaling is unproven; nprobes limits the approach (a few): One commenter argues the problem is not really solved, because decentralized index storage depends on how many clusters are probed (nprobes). They say it is unclear how the proposed cheap-search-first approach scales to billions of vectors.
  • Solid feature with strong performance versus competitors (a few): A commenter describes the feature as solidly built and says it clearly outperforms competing solutions. This comment drew a reply asking the author to disclose any relationship to the product, since the account appeared to exist only to praise it.
  • Simple praise with no substance (a few): One comment says only 'great', with no argument or experience shared.

Links from the comments

#vectorSearch #dataLakes #apacheIceberg #apacheHudi #databases