Skip to content

Update from code changes: document remote ingest request size tuning - #314

Merged
prrao87 merged 2 commits into
mainfrom
mintlify/4ba135f8
Jul 31, 2026
Merged

Update from code changes: document remote ingest request size tuning#314
prrao87 merged 2 commits into
mainfrom
mintlify/4ba135f8

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents two new environment variables that let you cap the size and duration of individual insert requests when bulk-loading into a remote LanceDB Enterprise table, so large ingests do not exceed the client read timeout.

Changes

  • Added a "Bulk ingests into a remote table" subsection under Ingestion in performance.mdx covering LANCE_CLIENT_MAX_BYTES_PER_REQUEST (default 8 GiB) and LANCE_CLIENT_MAX_REQUEST_DURATION (default half the read timeout), including when to lower each and an example export block.

Context

The remote write path now splits each partition into multiple insert parts uploaded under one upload id, so a single request no longer needs to stay open for the full partition. The two env vars are auto-picked up by the Python and TypeScript clients and are the user-facing knobs for avoiding operation timed out errors on very large ingests. Triggering PR: lancedb/lancedb#3630

@mintlify

mintlify Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lancedb-bcbb4faf 🟢 Ready View Preview Jul 17, 2026, 9:41 PM

Tighten the bulk ingest tuning section without dropping information:

- Split the multi-clause intro sentence and make the causal link to the
  timeout error explicit.
- Move "whichever comes first" out of a table cell into prose, since it
  describes both variables rather than one.
- Replace the follow-up paragraph, which restated the "What it controls"
  column and repeated the 1 GiB example shown in the bash block, with a
  single sentence covering which knob addresses which symptom.
- Note that the env vars are the only way to tune this from Python and
  TypeScript; both bindings hardcode the ClientConfig fields to None.
- Correct the closing line: the server stages parts under the shared
  upload id and merges them atomically, rather than committing each part.
- Swap the Info callout for the Enterprise badge used elsewhere.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@prrao87
prrao87 merged commit 169dd5b into main Jul 31, 2026
2 checks passed
@prrao87
prrao87 deleted the mintlify/4ba135f8 branch July 31, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant