Skip to content

Release v0.3.0

Choose a tag to compare

@zelda2003 zelda2003 released this 02 May 12:01
· 16 commits to main since this release

Release v0.3.0

This release provides pre-compiled binaries for db2vec, a high-performance Rust tool designed to parse database dumps, generate vector embeddings using local Ollama models, and load them efficiently into various vector databases.

Key Features

  • Fast Processing: Built in Rust for speed on large datasets.
  • Parallel Embeddings: Leverages multiple threads and configurable batching for Ollama requests.
  • Supported Dumps: Parses .sql (MySQL, PostgreSQL, MSSQL, SQLite, Oracle) and .surql (SurrealDB) files.
  • Vector DB Targets: Supports Chroma, Milvus, Pinecone, Qdrant, Redis Stack, and SurrealDB.
  • Automatic Schema: Creates databases, collections/indexes, and configures dimensions/metrics automatically in the target vector DB based on source table names and CLI flags.
  • Local Embeddings: Integrates with Ollama for generating embeddings locally.
  • Configurable: Extensive CLI options for fine-tuning performance and connections.

Binaries Included

  • Linux (Static): db2vec-0.3.0-linux-x86_64 (Built with MUSL, should run on most x86_64 Linux distributions without extra dependencies)
  • macOS (Universal): db2vec-0.3.0-macos-universal (Runs on both Intel and Apple Silicon Macs)
  • Windows: db2vec-0.3.0-windows-x86_64.exe

Checksum files (.sha256) are provided for verifying downloads.

How to Use

  1. Download the appropriate binary for your operating system from the Assets section below.
  2. (Optional but Recommended) Download the corresponding .sha256 checksum file.
  3. Verify the download (Example for Linux):
    shasum -a 256 -c db2vec-0.3.0-linux-x86_64.sha256
    # Should output: db2vec-0.3.0-linux-x86_64: OK
  4. Make the binary executable (Linux/macOS):
    chmod +x db2vec-0.3.0-linux-x86_64
    # or
    chmod +x db2vec-0.3.0-macos-universal
  5. Run the tool:
    • Linux:
      ./db2vec-0.3.0-linux-x86_64 --help
      ./db2vec-0.3.0-linux-x86_64 -f your_dump.sql -t redis --host redis://localhost:6379 ...
    • macOS:
      ./db2vec-0.3.0-macos-universal --help
      ./db2vec-0.3.0-macos-universal -f your_dump.sql -t redis --host redis://localhost:6379 ...
    • Windows (Command Prompt or PowerShell):
      .\db2vec-0.3.0-windows-x86_64.exe --help
      .\db2vec-0.3.0-windows-x86_64.exe -f your_dump.sql -t redis --host redis://localhost:6379 ...

For detailed configuration options and examples, please refer to the README.md.