milvus-logo

Local Storage-related Configurations

This topic introduces the local storage-related configurations of Milvus.

Milvus stores the vector data in local storage during search or query to avoid repetitive access to MinIO or S3 service.

Under this section, you can enable local storage, and configure the path, etc.

localStorage.path

Description Default Value
  • Local path to where vector data are stored during a search or a query to avoid repetitve access to MinIO or S3 service.
  • Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
  • It is recommended to change this parameter before starting Milvus for the first time.
  • This configuration takes effect only when localStorage.enabled is set as true.
  • /var/lib/milvus/data

    localStorage.enabled

    Description Default Value
    Switch value to control if to enable the local storage of the vector data to avoid repetitve access to MinIO or S3 service. true
    On this page