Where are the remaining two storage strategies?
- Vorherrschende Sprache
- Java
- Sterne
- 6.4k
- Forks
- 1.2k
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 115
Beschreibung
In `apache-iotdb-1.3.1-all-bin/conf/iotdb-datanode.properties`
```
# multi_dir_strategy
# The strategy is used to choose a directory from data_dirs for the system to store a new tsfile.
# System provides four strategies to choose from, or user can create his own strategy by extending org.apache.iotdb.db.conf.directories.strategy.DirectoryStrategy.
# The info of the four strategies are as follows:
# 1. SequenceStrategy: the system will choose the directory in sequence.
# 2. MaxDiskUsableSpaceFirstStrategy: the system will choose the directory whose disk has the maximum space.
# Set SequenceStrategy or MaxDiskUsableSpaceFirstStrategy to apply the corresponding strategy.
# If this property is unset, system will use SequenceStrategy as default strategy.
# For this property, fully-qualified class name (include package name) and simple class name are both acceptable.
# dn_multi_dir_strategy=SequenceStrategy
```
Two of the four storage strategies mentioned here
# 1. SequenceStrategy: the system will choose the directory in sequence.
# 2. MaxDiskUsableSpaceFirstStrategy: the system will choose the directory whose disk has the maximum space.
Where are the remaining two storage strategies?
And what I need is a strategy that automatically balances multi-directory storage.
Beitragsleitfaden
Rechercherichtung
Beginne mit dem Abschnitt multi_dir_strategy in apache-iotdb-1.3.1-all-bin/conf/iotdb-datanode.properties und untersuche org.apache.iotdb.db.conf.directories.strategy.DirectoryStrategy. Ermittle, welche vier Strategien tatsächlich verfügbar sind und wie eine Strategie angegeben werden sollte, die den Speicher über data_dirs hinweg ausbalanciert; als abgeschlossen gilt dies, wenn ein abgestimmter Umfang und entsprechende Dokumentations- oder Implementierungsbelege vorliegen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- databases
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100