Skip to content

SQL Anywhere 0.3.0 β€” vector-native edge

Choose a tag to compare

@kwhorne kwhorne released this 01 Jul 14:36
· 16 commits to main since this release
7006814

SQL Anywhere 0.3.0 β€” vector-native edge

SQL Anywhere is one of the few engines to ship native vector search and
bi-directional edge replication in the same file-compatible SQLite fork. 0.3.0
turns that into a batteries-included toolkit for local-first / edge RAG β€”
retrieval with no extra infrastructure and no network round-trip.

Highlights

  • Hybrid search (vector + FTS5) β€” fuse DiskANN similarity with full-text
    relevance via Reciprocal Rank Fusion in one query.
  • Vector quantization β€” compress_neighbors=float16|float8|float1bit
    shrinks the DiskANN index up to 5.5Γ— (measured) for constrained devices.
  • embed() β€” sqlanywhere::embed(text, dims) turns text into a vector
    inline (vector32(embed(...))), no external pre-compute. Dependency-free
    hashing-trick embedder (lexical; swap in a real model for semantic search).
  • Local RAG example β€” cargo run -p sqlanywhere --example local_rag runs the
    whole pipeline (embed β†’ quantized index β†’ FTS5 β†’ hybrid RRF) end to end.

Everything is additive and opt-in; databases that don't use the new features
stay byte-compatible with stock SQLite.

Docs

Notes

CRDT offline-merge (cr-sqlite) remains on the roadmap β€” it needs a pinned
nightly toolchain + build-std + C linking and is tracked separately.