## Summary Sync query execution rebuilt schema-derived state several times inside one call: for vector-column inference, blob projection validation, row-id preparation, async handoff, and result finalization. A plain point lookup paid five schema reads and five background-loop submissions per `to_arrow()`. This change prepares the schema and projected blob sources once per execution and reuses them through scan setup, result finalization, and the async handoff. Sync-prepared queries tell the async layer that blob row ids are already resolved; nothing is cached between executions, so a reused builder still observes schema changes. Plain scans and explicit vector columns no longer read the schema just to infer a vector column, and the dead vector conversion in `LanceVectorQueryBuilder.to_batches()` is removed. Non-lazy vector `to_arrow()` stays on its lazy materialization path, so reranking and snapshot merging run once before the aggregate blob conversion. Async behavior, namespace routing, fragments, timeouts, and public APIs are unchanged. A direct synchronous Rust terminal remains follow-up work. ## Benchmark Workload: 200,000 rows, 64 dimensions, BTREE on `id`, IVF_PQ on `vector`; 50 warmups + 500 calls per run; p50 of three runs. Baseline and candidate Python packages ran against the same `release-no-lto` extension built at `a2176f9b`; only package source differed. Local NVMe, single host. | Workload | Loop/schema per call before -> after | p50 before -> after | |---|---|---| | plain point lookup `to_arrow()` | 5 / 5 -> 2 / 1 | 6.06 / 6.08 / 5.67 ms -> 3.26 / 3.26 / 3.33 ms | | indexed vector `to_arrow()` | 5 / 5 -> 3 / 2 | 8.82 / 8.21 / 8.35 ms -> 6.40 / 6.55 / 6.60 ms | | plain point lookup `to_batches().read_all()` | 6 / 4 -> 4 / 1 | 6.88 / 7.25 / 6.94 ms -> 4.37 / 4.80 / 3.76 ms | `release-no-lto` is a local comparison build, not a release-profile number. The branch includes a merge of current main (`a2176f9b`, #5129); the affected blob, reranker, FTS, query, and namespace checks were rerun against the merged tree. Refs OSS-2867 (non-closing).
The Multimodal Lakehouse for AI
How to Install ✦ Detailed Documentation ✦ Tutorials and Recipes ✦ Contributors
The ultimate multimodal data platform for AI/ML applications.
LanceDB is designed for fast, scalable, and production-ready vector search. It is built on top of the Lance columnar format. You can store, index, and search over petabytes of multimodal data and vectors with ease. LanceDB is a central location where developers can build, train and analyze their AI workloads.
Demo: Multimodal Search by Keyword, Vector or with SQL
Star LanceDB to get updates!
Key Features:
- Fast Vector Search: Search billions of vectors in milliseconds with state-of-the-art indexing.
- Comprehensive Search: Support for vector similarity search, full-text search and SQL.
- Multimodal Support: Store, query and filter vectors, metadata and multimodal data (text, images, videos, point clouds, and more).
- Advanced Features: Zero-copy, automatic versioning, manage versions of your data without needing extra infrastructure. GPU support in building vector index.
Products:
- LanceDB Embedded (open source): 100% open source, runs in your application's process; your data can live on local disk or in object storage. No vendor lock-in.
- LanceDB Enterprise: Production-scale distributed search, indexing, and maintenance. Plus, complete data sovereignty and security.
Ecosystem:
- Columnar Storage: Built on the Lance columnar format for efficient storage and analytics.
- Seamless Integration: Python, Node.js, Rust, and REST APIs for easy integration. Native Python and Javascript/Typescript support.
- Rich Ecosystem: Integrations with LangChain 🦜️🔗, LlamaIndex 🦙, Apache-Arrow, Pandas, Polars, DuckDB and more on the way.
How to Install:
Follow the Quickstart doc to set up LanceDB locally.
API & SDK: We also support Python, Typescript and Rust SDKs
| Interface | Documentation |
|---|---|
| Python SDK | https://lancedb.github.io/lancedb/python/python/ |
| Typescript SDK | https://lancedb.github.io/lancedb/js/globals/ |
| Rust SDK | https://docs.rs/lancedb/latest/lancedb/index.html |
| REST API | https://docs.lancedb.com/api-reference/rest |
Join Us and Contribute
We welcome contributions from everyone! Whether you're a developer, researcher, or just someone who wants to help out.
If you have any suggestions or feature requests, please feel free to open an issue on GitHub or discuss it on our Discord server.
Check out the GitHub Issues if you would like to work on the features that are planned for the future. If you have any suggestions or feature requests, please feel free to open an issue on GitHub.

