mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-09-14 04:50:36 +02:00
notes on supported meta data store
This commit is contained in:
parent
21a37787ba
commit
c79274f7eb
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue