github.com/matrixorigin/matrixone@v0.7.0/etc/dn-minimal-s3-test.toml (about) 1 # service node type, [DN|CN|LOG] 2 service-type = "DN" 3 4 [log] 5 level = "debug" 6 format = "json" 7 max-size = 512 8 9 [hakeeper-client] 10 service-addresses = [ 11 "1", 12 "2" 13 ] 14 15 [[fileservice]] 16 # local fileservice instance, used to store TAE Data and DNStore metadata. 17 name = "local" 18 # use disk as fileservice backend 19 backend = "DISK" 20 # set the directory used by DISK backend. There must has a file named "thisisalocalfileservicedir" 21 # in the data dir 22 data-dir = "data dir" 23 24 [[fileservice]] 25 # s3 fileservice instance, used to store data. 26 name = "SHARED" 27 # use s3 as fileservice backend. 28 backend = "S3" 29 [fileservice.s3] 30 endpoint = "s3 endpoint" 31 bucket = "s3 bucket" 32 key-prefix = "s3 key preifx" 33 [fileservice.cache] 34 memory-capacity = "128MB" 35 disk-capacity = "1GB" 36 disk-path = "mo-data/file-service-cache" 37 38 [[fileservice]] 39 name = "ETL" 40 # val in [DISK-ETL, S3]. if backend = S3, this config should be mirror of above fileservice(S3) config 41 backend = "DISK-ETL" 42 data-dir = "data dir" 43 44 [dn] 45 uuid = "dn uuid" 46 47 [dn.Txn.Storage] 48 # txn storage backend implementation. [TAE|MEM] 49 backend = "MEM" 50