server_config.template 1.5 KB
Newer Older
Y
yudong.cai 已提交
1 2
# All the following configurations are default values.

G
groot 已提交
3
server_config:
Y
yudong.cai 已提交
4 5 6
  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
7
  time_zone: UTC+8
G
groot 已提交
8 9

db_config:
Y
yudong.cai 已提交
10 11
  primary_path: @MILVUS_DB_PATH@    # path used to store data and meta
  secondary_path:                   # path used to store data only, split by semicolon
Z
zhiru 已提交
12

Y
yudong.cai 已提交
13 14 15
  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'
Z
zhiru 已提交
16

Y
yudong.cai 已提交
17 18
  insert_buffer_size: 4             # GB, maximum insert buffer size allowed
  build_index_gpu: 0                # gpu id used for building index
G
groot 已提交
19 20

metric_config:
Y
yudong.cai 已提交
21 22
  enable_monitor: false             # enable monitoring or not
  collector: prometheus             # prometheus
23
  prometheus_config:
Y
yudong.cai 已提交
24
    port: 8080                      # port prometheus used to fetch metrics
G
groot 已提交
25

S
starlord 已提交
26
cache_config:
Y
yudong.cai 已提交
27 28 29
  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
Y
yu yunfeng 已提交
30 31

engine_config:
32
  blas_threshold: 20
W
wxyu 已提交
33 34

resource_config:
Y
yudong.cai 已提交
35
  resource_pool:
36
    - cpu
W
wxyu 已提交
37
    - gpu0