Skip to main content
Where your data lives is chosen by the connect URI:
The object-storage schemes are s3:// (Amazon S3 and S3-compatible stores), gs:// (Google Cloud Storage) and az:// (Azure Blob). Data is stored as standard Apache Parquet at that location, so anything that reads Parquet can read it.
memory:// is in-process and ephemeral. update and delete require durable storage (a path or an object-storage URI).

Object-storage configuration

Credentials go in storage_options (storageOptions in Node.js), keyed by the standard object_store config strings — aws_* for S3, azure_* for Azure Blob, google_* for Google Cloud Storage. Infino reads no credentials from the environment; omit them to use ambient cloud identity (an IAM instance role or Azure managed identity).
Common credential keys: The full set is whatever object_store accepts for the backend; an unknown key is rejected at connect. For an S3-compatible endpoint (MinIO / R2 / Ceph), set aws_endpoint (add aws_allow_http: "true" for plain HTTP) alongside the credentials.
Pass validate (with_validate(true) in Rust) to probe the backend during connect, so wrong credentials or an unreachable bucket fail there instead of on the first query.
The local disk cache is off unless you set cache_dir. Without it, every cold read goes to object storage, and cache_budget_bytes has no effect. Set cache_dir for any object-storage connection that serves repeated queries, so hot data stays on local disk.

Connect options

Connection memory budget

connection_memory_budget_bytes caps the RAM (heap) a connection may hold while it works, the transient memory used to ingest data and run queries over it (keyword, vector, hybrid, or SQL). It is per connection: one ceiling shared by every table on the connection and by all its work, tracked as a single running total. By default it is unset, usage is measured but never enforced; pass a byte value to enforce it. When a request would cross the limit, Infino tries to stay within budget before it fails:
  • SQL that can spill (sorts, aggregations, joins) writes intermediate state to disk and keeps going, so the query still completes, just slower.
  • Work that can’t spill (a vector search’s cold fetch, an ingest build) is refused before it allocates, returning a recoverable error rather than risking an out-of-memory crash.
A refusal surfaces as each language’s idiomatic recoverable error: ConnectionMemoryBudgetError in Python, a thrown Error in Node, and InfinoError::OverBudget in Rust. Catch it, then narrow the query, split the ingest, or raise the budget.
This budget is RAM only. It is separate from cache_budget_bytes, which bounds each table’s local disk cache, and it does not cap memory-mapped reads (the OS reclaims those on its own). Give each independent workload its own connection so their budgets stay isolated rather than sharing one ceiling. Omit it (or pass 0) to only measure usage, never enforce.

Limitations

  • memory:// is ephemeral and can’t be mutated. update/delete need a path or an object-storage URI.
  • Object-storage reads are cached locally only when cache_dir is set. Cold queries fetch from the store. cache_budget_bytes applies to each table separately, so ten tables can use ten times the budget on disk.

See also

Last modified on November 18, 2026