Epsilla
HomeDiscordTwitterGithubEmail
  • Welcome
    • Register and Login
    • Explore App Portal
  • Build Your First AI Agent
    • Create a Knowledge Base
    • Set Up Your AI Agent
    • Publish Your AI Agent
  • Knowledge Base
    • Local Files
    • Website
    • Google Drive
    • S3
    • Notion
    • Share Point
    • Google Cloud Storage
    • Azure Blob Storage
    • Confluence
    • Jira
    • Advanced Settings
      • Auto Sync
      • Embedding
      • Data Parsing
      • Data Chunking
      • Hypothetical Questions
      • Webhook
      • Meta Data
    • Data Storage
    • Programmatically Manage Knowledge Bases
  • Application
    • Create New AI Agent
    • Basic Chat Agent Config
    • Basic Smart Search Agent Config
    • Advanced Workflow Customization
    • Publish and Deployment
    • User Engagement Analytics
  • Evaluation
    • Create New Evaluation
    • Run Evaluation
    • Evaluation Run History
  • Integration
  • Team Member Management
  • Project Management
  • Billing Management
  • Release Notes
  • Epsilla Vector Database
    • Overview
    • Quick Start
      • Run with Docker
      • Epsilla Cloud
    • User Manual
      • Connect to a database
      • Create a new table
      • Drop a table
      • Delete a database
      • Insert records
      • Upsert records
      • Search the top K semantically similar records
      • Retrieve records (with filters and pagination)
      • Delete records
      • Performance Tuning
    • Advanced Topics
      • Embeddings
      • Dense vector vs. sparse vector
      • Hybrid Search
    • Integrations
      • OpenAI
      • Mistral AI
      • Jina AI
      • Voyage AI
      • Mixedbread AI
      • Nomic AI
    • Roadmap
Powered by GitBook
On this page
  1. Epsilla Vector Database
  2. User Manual

Performance Tuning

Starting in 0.3.9, Epsilla Vector Database offers advanced performance tuning options to cater to diverse operational needs, ensuring optimal efficiency and speed for vector data processing. By adjusting the configuration through a simple POST request to the API endpoint, users can fine-tune the database's performance to their specific requirements:

curl -X POST 'http://localhost:8888/api/config' \
    -d '{
        "IntraQueryThreads": 4,
        "ConcurrentWorkersPerIndex": 16,
        "RebuildThreads": 1,
        "SearchQueueSize": 500
    }'

Note: all the config entries are optional. If not provided, the entry value will stay as default (shown in the table below).

Here's a table that succinctly presents the performance tuning parameters supported by Epsilla Vector Database:

Parameter
Default Value
Description

IntraQueryThreads

4

Controls the number of threads used within a single query, enabling efficient parallel processing for a single vector search query. Set a larger value to get a lower query latency. Note: increasing the value will reduce the throughput the whole system can handle.

ConcurrentWorkersPerIndex

16

Sets the number of concurrent workers. Enables concurrent query processing. Set to a larger value to get better throughput. Note: IntraQueryThreads * ConcurrentWorkersPerIndex should not exceed Total available threads - RebuildThreads, otherwise the increased context switch will reduce the overall system performance.

RebuildThreads

1

Determines the number of threads allocated for rebuilding vector indexes. Set to a larger value to get a faster indexing rebuild.

SearchQueueSize

500

Adjusts the size of the search queue. The larger the value, the higher the recall of vector search (especially in metadata filtering), with a tradeoff of higher query latency.

PreviousDelete recordsNextAdvanced Topics

Last updated 1 year ago