Browse Source

notes on supported meta data store

pull/1041/head
Chris Lu 5 years ago
parent
commit
c79274f7eb
  1. 4
      weed/command/scaffold.go

4
weed/command/scaffold.go

@ -78,7 +78,7 @@ dir = "." # directory to store level db files
# multiple filers on shared storage, fairly scalable
####################################################
[mysql]
[mysql] # or tidb
# CREATE TABLE IF NOT EXISTS filemeta (
# dirhash BIGINT COMMENT 'first 64 bits of MD5 hash value of directory field',
# 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_open = 100
[postgres]
[postgres] # or cockroachdb
# CREATE TABLE IF NOT EXISTS filemeta (
# dirhash BIGINT,
# name VARCHAR(65535),

Loading…
Cancel
Save