1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-08-29 05:00:38 +02:00

notes on supported meta data store

This commit is contained in:
Chris Lu 2019-08-05 16:45:19 -07:00
parent 21a37787ba
commit c79274f7eb

View file

@ -78,7 +78,7 @@ dir = "." # directory to store level db files
# multiple filers on shared storage, fairly scalable # multiple filers on shared storage, fairly scalable
#################################################### ####################################################
[mysql] [mysql] # or tidb
# CREATE TABLE IF NOT EXISTS filemeta ( # CREATE TABLE IF NOT EXISTS filemeta (
# dirhash BIGINT COMMENT 'first 64 bits of MD5 hash value of directory field', # dirhash BIGINT COMMENT 'first 64 bits of MD5 hash value of directory field',
# name VARCHAR(1000) COMMENT 'directory or file name', # name VARCHAR(1000) COMMENT 'directory or file name',
@ -96,7 +96,7 @@ database = "" # create or use an existing database
connection_max_idle = 2 connection_max_idle = 2
connection_max_open = 100 connection_max_open = 100
[postgres] [postgres] # or cockroachdb
# CREATE TABLE IF NOT EXISTS filemeta ( # CREATE TABLE IF NOT EXISTS filemeta (
# dirhash BIGINT, # dirhash BIGINT,
# name VARCHAR(65535), # name VARCHAR(65535),