Skip to main content
A table is a schema plus an index spec: which columns are full-text- and vector-indexed (see Indexing). Create it once, then append rows.

Create and append

One append == one atomic commit, durable on return. Append in batches rather than row-by-row for throughput. On Infino Cloud, one append request is capped at 512 MiB of Arrow data; target 100 MiB or less per batch (see Limits).

Open an existing table

A table persists, so you create it once and open it on later runs with open_table.

Update and delete

In Python and Node.js, update and delete match rows by a SQL predicate string. In Rust, they take a DataFusion Expr (col(...).eq(lit(...))), where col and lit come from the datafusion-expr crate (see the Quickstart for the companion crates Rust needs). update replaces matched rows 1:1 with the new rows you supply.
update and delete require durable storage: a path or an object-storage URI, not memory://. update is 1:1, so the matched row count must equal the replacement count.
update replaces the whole row. There is no partial update. Supply every column, including the embedding. A nullable column you leave out is stored as null, and a non-nullable one you leave out is an error. Infino cannot return a stored vector (it is not a readable column), so keep the embedding or recompute it when you update a row.

Compact, list, and drop

optimize accepts options (omit for engine defaults):

Change the schema

Read a table’s schema with schema(name) and change it with schema(name, patch). Both are on the connection, not the table (in Rust the write is apply_schema).
Python
A patch can add, rename, retype or drop columns; the SDK reference linked from API Reference has the full patch shape. Existing rows read back null for a column added later. Appending records with a key the table does not have also adds a column, typed from its values. That is convenient for document-shaped data, and it means a misspelled key creates a column rather than raising an error. An index is fixed once a column exists: see Indexing.

Reclaim storage (gc)

Compaction and interrupted writes can leave behind storage objects that the table no longer references. gc deletes them and reports what it reclaimed. It only removes objects older than a grace window (in seconds), which is what keeps it from deleting the files of a commit still in progress: choose a window longer than your longest write. Requires durable storage.
optimize already runs gc after compacting, with a 24-hour grace window. Call gc directly to reclaim sooner than that, for example with a one-hour window after a large delete.

Limitations

  • Writes to one table are coordinated, and can be refused. Appends can run concurrently and publish one at a time; an update, delete or schema change needs the table to itself. A write that still loses after the engine’s own retries raises a conflict error that is safe to retry: ConflictError in Python, an error whose message starts ConflictError: in Node.js, InfinoError::Conflict in Rust. On Infino Cloud a contended write surfaces differently; see Errors & retries.
  • One update or delete can match at most 100,000 rows. Past that it is refused with mutation cap is 100000; split the predicate into ranges and run it in several calls.
  • update is 1:1. The matched row count must equal the replacement-row count.
  • update / delete need durable storage, not memory://.
  • Schema changes go through schema(name, patch) — add, rename, retype or drop columns, on a local or Infino Cloud connection; see the binding reference.

See also

Last modified on November 18, 2026