MOST: Model-Based Compression with Outlier Storage for Time Series Data
- InfluxDB v2, both client and server
- OpenJDK v11
- A C++17 compiler
- CMake v3+
- Maven v3+
- Start the InfluxDBv2 server.
- Create user(default 'mostdb'), password(default 'mostdb123'), bucket(default 'mostdb'), org(default 'mostdb') for MostDB.
- Open http://localhost:8086 on browser and copy your token to
// in src/main/java/team/ictdb/mostdb/MostDB.java
private char[] token = ("<Your token here>").toCharArray();
export JAVA_HOME="..." #if necessary
cd src/main/cpp
cmake -B build .
cd build && make && make install
# return to root directory of this project
mvn compile
mvn test
mvn package
mvn install
Then you can use MostDB in other maven projects.
This is a prototype implementation. We are still working on code refining.