mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
38 lines
1.4 KiB
YAML
38 lines
1.4 KiB
YAML
# All the following configurations are default values.
|
|
|
|
server_config:
|
|
address: 0.0.0.0 # milvus server ip address (IPv4)
|
|
port: 19530 # port range: 1025 ~ 65534
|
|
deploy_mode: single # deployment type: single, cluster_readonly, cluster_writable
|
|
time_zone: UTC+8
|
|
|
|
db_config:
|
|
primary_path: /tmp/milvus # path used to store data and meta
|
|
secondary_path: # path used to store data only, split by semicolon
|
|
|
|
backend_url: sqlite://:@:/ # URI format: dialect://username:password@host:port/database
|
|
# Keep 'dialect://:@:/', and replace other texts with real values.
|
|
# Replace 'dialect' with 'mysql' or 'sqlite'
|
|
|
|
insert_buffer_size: 4 # GB, maximum insert buffer size allowed
|
|
build_index_gpu: 0 # gpu id used for building index
|
|
|
|
metric_config:
|
|
enable_monitor: false # enable monitoring or not
|
|
collector: prometheus # prometheus
|
|
prometheus_config:
|
|
port: 8080 # port prometheus used to fetch metrics
|
|
|
|
cache_config:
|
|
cpu_mem_capacity: 16 # GB, CPU memory used for cache
|
|
cpu_mem_threshold: 0.85 # percentage of data kept when cache cleanup triggered
|
|
cache_insert_data: false # whether load inserted data into cache
|
|
|
|
engine_config:
|
|
blas_threshold: 20
|
|
|
|
resource_config:
|
|
resource_pool:
|
|
- cpu
|
|
- gpu0
|