mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Super Large Directories (markdown)
parent
79ee7e9c41
commit
40e6967901
|
@ -10,7 +10,7 @@ We need a way to spread the data to all data nodes, without sacrificing too much
|
||||||
|
|
||||||
# How it works?
|
# How it works?
|
||||||
|
|
||||||
This is currently only implemented in Cassandra. In Cassandra, each entry has this schema:
|
This is currently only implemented in Cassandra and Redis. In Cassandra, each entry has this schema:
|
||||||
```
|
```
|
||||||
CREATE TABLE filemeta (
|
CREATE TABLE filemeta (
|
||||||
directory varchar,
|
directory varchar,
|
||||||
|
@ -33,7 +33,7 @@ The consequences are:
|
||||||
|
|
||||||
# How to configure it?
|
# How to configure it?
|
||||||
|
|
||||||
In `filer.toml` for Cassandra, there is an option `superLargeDirectories`. For example, if you will have a lot of user data under `/home/users`
|
In `filer.toml` for Cassandra/Redis, there is an option `superLargeDirectories`. For example, if you will have a lot of user data under `/home/users`
|
||||||
|
|
||||||
```
|
```
|
||||||
[cassandra]
|
[cassandra]
|
||||||
|
|
Loading…
Reference in a new issue