You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by le...@apache.org on 2022/02/14 04:06:59 UTC

[iotdb] 25/32: update

This is an automated email from the ASF dual-hosted git repository.

leirui pushed a commit to branch research/M4-visualization
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 5b62d79f073b495d6ce61dd67e86e5d0e13d6f9c
Author: Lei Rui <10...@qq.com>
AuthorDate: Tue Feb 8 08:51:08 2022 +0800

    update
---
 .../org/apache/iotdb/bash/run-BallSpeed-exp.sh     | 1555 +++++++++++++++++++
 .../main/java/org/apache/iotdb/bash/run-KOB-exp.sh | 1561 ++++++++++++++++++++
 .../java/org/apache/iotdb/bash/run-MF03-exp.sh     | 1554 +++++++++++++++++++
 .../java/org/apache/iotdb/bash/run-RcvTime-exp.sh  | 1553 +++++++++++++++++++
 4 files changed, 6223 insertions(+)

diff --git a/example/session/src/main/java/org/apache/iotdb/bash/run-BallSpeed-exp.sh b/example/session/src/main/java/org/apache/iotdb/bash/run-BallSpeed-exp.sh
new file mode 100644
index 0000000..21654e4
--- /dev/null
+++ b/example/session/src/main/java/org/apache/iotdb/bash/run-BallSpeed-exp.sh
@@ -0,0 +1,1555 @@
+#!/bin/bash
+
+############################
+# extract small data for fast exp
+# java ExtractBallSpeedData inPath outPath timeIdx valueIdx lineNum
+# lineNum=-1 means extracting total lines
+############################
+cd /data3/raw_data/rl/BallSpeed
+java ExtractBallSpeedData /data3/raw_data/data/full-game BallSpeed.csv 1 5 8 2000000 3200000
+
+
+############################
+# generate out-of-order source data
+# java OverlapGenerator inPath outPath timeIdx valueIdx overlapPercentage overlapDepth
+# overlapPercentage [0,100]
+# overlapDepth [0,50]
+############################
+cp BallSpeed.csv BallSpeed-O_0_0
+
+java OverlapGenerator BallSpeed.csv BallSpeed-O_10_10 0 1 10 10
+java OverlapGenerator BallSpeed.csv BallSpeed-O_30_10 0 1 30 10
+java OverlapGenerator BallSpeed.csv BallSpeed-O_50_10 0 1 50 10
+java OverlapGenerator BallSpeed.csv BallSpeed-O_70_10 0 1 70 10
+java OverlapGenerator BallSpeed.csv BallSpeed-O_90_10 0 1 90 10
+
+
+############################
+# /data3/raw_data/rl
+# ---- BallSpeed
+# /data3/ruilei/rl/dataSpace
+# /data3/ruilei/rl/iotdb-server-0.12.4
+# /data3/ruilei/rl/iotdb-engine-example.properties
+# /data3/ruilei/rl/tool.sh
+# /data3/ruilei/rl/ProcessResult.class
+# /data3/ruilei/rl/ProcessResult.java
+# /data3/ruilei/rl/SumResultUnify.class
+# /data3/ruilei/rl/SumResultUnify.java
+# /data3/ruilei/rl/BallSpeed_testspace
+# ---- WriteBallSpeed-0.12.4.jar [make sure updated][time ns ms value long float type][device measurement path]
+# ---- QueryBallSpeed-0.12.4.jar [make sure updated][time ns ms value long float type][device measurement path]
+# ---- query_experiment.sh [make sure updated][call jar name]
+# [EXP1 EXP2]
+# ---- O_10_10_D_0_0:
+# ---- ---- iotdb-engine-enableCPVtrue.properties
+# ---- ---- iotdb-engine-enableCPVfalse.properties
+# ---- ---- write_data.sh
+# ---- ---- vary_w
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- vary_tqe
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# [EXP3]
+# ---- O_0_0_D_0_0:
+# ---- ---- iotdb-engine-enableCPVtrue.properties
+# ---- ---- iotdb-engine-enableCPVfalse.properties
+# ---- ---- write_data.sh
+# ---- ---- fix
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- O_30_10_D_0_0
+# ---- O_50_10_D_0_0
+# ---- O_70_10_D_0_0
+# ---- O_90_10_D_0_0
+# [EXP4]
+# ---- O_10_10_D_9_10
+# ---- O_10_10_D_29_10
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_69_10
+# ---- O_10_10_D_89_10
+# [EXP5]
+# ---- O_10_10_D_9_30
+# ---- O_10_10_D_9_50
+# ---- O_10_10_D_9_70
+# ---- O_10_10_D_9_90
+
+############################
+
+############################
+# [EXP1]
+############################
+
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_10_10_D_0_0
+cd O_10_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_10_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_0_0
+mkdir vary_w
+cd vary_w
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 1 2 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMOC.csv
+./../../../query_experiment.sh 617426057627 2 2 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMOC.csv
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+./../../../query_experiment.sh 617426057627 10 2 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMOC.csv
+./../../../query_experiment.sh 617426057627 20 2 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMOC.csv
+./../../../query_experiment.sh 617426057627 50 2 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMOC.csv
+./../../../query_experiment.sh 617426057627 100 2 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultMOC.csv
+./../../../query_experiment.sh 617426057627 200 2 >> result_8.txt
+java ProcessResult result_8.txt result_8.out ../sumResultMOC.csv
+./../../../query_experiment.sh 617426057627 500 2 >> result_9.txt
+java ProcessResult result_9.txt result_9.out ../sumResultMOC.csv
+./../../../query_experiment.sh 617426057627 1000 2 >> result_10.txt
+java ProcessResult result_10.txt result_10.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 1 1 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMAC.csv
+./../../../query_experiment.sh 617426057627 2 1 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMAC.csv
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+./../../../query_experiment.sh 617426057627 10 1 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMAC.csv
+./../../../query_experiment.sh 617426057627 20 1 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMAC.csv
+./../../../query_experiment.sh 617426057627 50 1 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMAC.csv
+./../../../query_experiment.sh 617426057627 100 1 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultMAC.csv
+./../../../query_experiment.sh 617426057627 200 1 >> result_8.txt
+java ProcessResult result_8.txt result_8.out ../sumResultMAC.csv
+./../../../query_experiment.sh 617426057627 500 1 >> result_9.txt
+java ProcessResult result_9.txt result_9.out ../sumResultMAC.csv
+./../../../query_experiment.sh 617426057627 1000 1 >> result_10.txt
+java ProcessResult result_10.txt result_10.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 1 3 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultCPV.csv
+./../../../query_experiment.sh 617426057627 2 3 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultCPV.csv
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+./../../../query_experiment.sh 617426057627 10 3 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultCPV.csv
+./../../../query_experiment.sh 617426057627 20 3 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultCPV.csv
+./../../../query_experiment.sh 617426057627 50 3 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultCPV.csv
+./../../../query_experiment.sh 617426057627 100 3 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultCPV.csv
+./../../../query_experiment.sh 617426057627 200 3 >> result_8.txt
+java ProcessResult result_8.txt result_8.out ../sumResultCPV.csv
+./../../../query_experiment.sh 617426057627 500 3 >> result_9.txt
+java ProcessResult result_9.txt result_9.out ../sumResultCPV.csv
+./../../../query_experiment.sh 617426057627 1000 3 >> result_10.txt
+java ProcessResult result_10.txt result_10.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# [EXP2]
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_0_0
+mkdir vary_tqe
+cd vary_tqe
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 13096043655 5 2 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMOC.csv
+./../../../query_experiment.sh 26192087310 5 2 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMOC.csv
+./../../../query_experiment.sh 52384174620 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+./../../../query_experiment.sh 130960436550 5 2 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMOC.csv
+./../../../query_experiment.sh 261920873100 5 2 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMOC.csv
+./../../../query_experiment.sh 617426057627 5 2 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 13096043655 5 1 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMAC.csv
+./../../../query_experiment.sh 26192087310 5 1 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMAC.csv
+./../../../query_experiment.sh 52384174620 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+./../../../query_experiment.sh 130960436550 5 1 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMAC.csv
+./../../../query_experiment.sh 261920873100 5 1 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMAC.csv
+./../../../query_experiment.sh 617426057627 5 1 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 13096043655 5 3 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultCPV.csv
+./../../../query_experiment.sh 26192087310 5 3 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultCPV.csv
+./../../../query_experiment.sh 52384174620 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+./../../../query_experiment.sh 130960436550 5 3 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultCPV.csv
+./../../../query_experiment.sh 261920873100 5 3 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultCPV.csv
+./../../../query_experiment.sh 617426057627 5 3 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+# [EXP3]
+# ---- O_0_0_D_0_0:
+# ---- ---- iotdb-engine-enableCPVtrue.properties
+# ---- ---- iotdb-engine-enableCPVfalse.properties
+# ---- ---- write_data.sh
+# ---- ---- fix
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- O_30_10_D_0_0
+# ---- O_50_10_D_0_0
+# ---- O_70_10_D_0_0
+# ---- O_90_10_D_0_0
+
+############################
+# O_0_0_D_0_0
+############################
+
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_0_0_D_0_0
+cd O_0_0_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_0_0_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_0_0_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_0_0_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_0_0 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_0_0_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_30_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_30_10_D_0_0
+cd O_30_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_30_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_30_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_30_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_30_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_30_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_50_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_50_10_D_0_0
+cd O_50_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_50_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_50_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_50_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_50_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_50_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_50_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_70_10_D_0_0
+cd O_70_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_70_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_70_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_70_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_70_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_70_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_90_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_90_10_D_0_0
+cd O_90_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_90_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_90_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_90_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_90_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_90_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+# [EXP4]
+# ---- O_10_10_D_0_0
+# ---- O_10_10_D_9_10
+# ---- O_10_10_D_29_10
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_69_10
+# ---- O_10_10_D_89_10
+
+############################
+# O_10_10_D_9_10
+############################
+
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_10_10_D_9_10
+cd O_10_10_D_9_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_9_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_9_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_9_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_10_10 9 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_9_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_29_10
+############################
+
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_10_10_D_29_10
+cd O_10_10_D_29_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_29_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_29_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_29_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_10_10 29 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_29_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_10
+############################
+
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_10_10_D_49_10
+cd O_10_10_D_49_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_10_10 49 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_49_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_69_10
+############################
+
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_10_10_D_69_10
+cd O_10_10_D_69_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_69_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_69_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_69_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_10_10 69 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_69_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_89_10
+############################
+
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_10_10_D_89_10
+cd O_10_10_D_89_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_89_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_89_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_89_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_10_10 89 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_89_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+# [EXP5-2]
+# ---- O_10_10_D_49_30
+# ---- O_10_10_D_49_50
+# ---- O_10_10_D_49_70
+# ---- O_10_10_D_49_90
+
+############################
+# O_10_10_D_49_30
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_10_10_D_49_30
+cd O_10_10_D_49_30
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_30/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_30/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_30/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_10_10 49 30 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_49_30
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_50
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_10_10_D_49_50
+cd O_10_10_D_49_50
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_50/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_50/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_50/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_10_10 49 50 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_49_50
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_9_50
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_10_10_D_49_70
+cd O_10_10_D_49_70
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_70/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_70/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_70/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_10_10 49 70 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_49_70
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_90
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace
+mkdir O_10_10_D_49_90
+cd O_10_10_D_49_90
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_90/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_90/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/BallSpeed_O_10_10_D_49_90/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/BallSpeed_testspace/WriteBallSpeed-0.12.4.jar /data3/raw_data/rl/BallSpeed/BallSpeed-O_10_10 49 90 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_49_90
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 617426057627 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+#########################
+# sum results
+# [EXP3]
+# ---- O_0_0_D_0_0
+# ---- O_30_10_D_0_0
+# ---- O_50_10_D_0_0
+# ---- O_70_10_D_0_0
+# ---- O_90_10_D_0_0
+# [EXP4]
+# ---- O_10_10_D_9_10
+# ---- O_10_10_D_29_10
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_69_10
+# ---- O_10_10_D_89_10
+# [EXP5]
+# ---- O_10_10_D_49_30
+# ---- O_10_10_D_49_50
+# ---- O_10_10_D_49_70
+# ---- O_10_10_D_49_90
+#########################
+# [EXP3]
+cd /data3/ruilei/rl/BallSpeed_testspace/O_0_0_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp3.csv
+
+cd /data3/ruilei/rl/BallSpeed_testspace/O_30_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp3.csv
+
+cd /data3/ruilei/rl/BallSpeed_testspace/O_50_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp3.csv
+
+cd /data3/ruilei/rl/BallSpeed_testspace/O_70_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp3.csv
+
+cd /data3/ruilei/rl/BallSpeed_testspace/O_90_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp3.csv
+
+# [EXP4]
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_9_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp4.csv
+
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_29_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp4.csv
+
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_49_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp4.csv
+
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_69_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp4.csv
+
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_89_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp4.csv
+
+# [EXP5]
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_49_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp5.csv
+
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_49_30
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp5.csv
+
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_49_50
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp5.csv
+
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_49_70
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp5.csv
+
+cd /data3/ruilei/rl/BallSpeed_testspace/O_10_10_D_49_90
+cd fix
+cat result.csv >>/data3/ruilei/rl/BallSpeed_testspace/exp5.csv
diff --git a/example/session/src/main/java/org/apache/iotdb/bash/run-KOB-exp.sh b/example/session/src/main/java/org/apache/iotdb/bash/run-KOB-exp.sh
new file mode 100644
index 0000000..d747168
--- /dev/null
+++ b/example/session/src/main/java/org/apache/iotdb/bash/run-KOB-exp.sh
@@ -0,0 +1,1561 @@
+#!/bin/bash
+
+############################
+# extract small data for fast exp
+# java ExtractBallSpeedData inPath outPath timeIdx valueIdx lineNum
+# lineNum=-1 means extracting total lines
+############################
+cd /data3/raw_data/rl/KOB
+java ExtractKOB /data3/raw_data/data/KOB/root.kobelco.trans.03.1090001603.2401604.KOB_0002_00_67.csv KOB.csv 0 1
+
+############################
+# generate out-of-order source data
+# java OverlapGenerator inPath outPath timeIdx valueIdx overlapPercentage overlapDepth
+# overlapPercentage [0,100]
+# overlapDepth [0,50]
+############################
+cp KOB.csv KOB-O_0_0
+
+java OverlapGenerator KOB.csv KOB-O_10_10 0 1 10 10
+java OverlapGenerator KOB.csv KOB-O_30_10 0 1 30 10
+java OverlapGenerator KOB.csv KOB-O_50_10 0 1 50 10
+java OverlapGenerator KOB.csv KOB-O_70_10 0 1 70 10
+java OverlapGenerator KOB.csv KOB-O_90_10 0 1 90 10
+
+
+############################
+# /data3/raw_data/rl
+# ---- KOB
+# /data3/ruilei/rl/dataSpace
+# /data3/ruilei/rl/iotdb-server-0.12.4
+# /data3/ruilei/rl/iotdb-engine-example.properties
+# /data3/ruilei/rl/tool.sh
+# /data3/ruilei/rl/ProcessResult.class
+# /data3/ruilei/rl/ProcessResult.java
+# /data3/ruilei/rl/SumResultUnify.class
+# /data3/ruilei/rl/SumResultUnify.java
+# /data3/ruilei/rl/KOB_testspace
+# ---- WriteKOB-0.12.4.jar
+# ---- QueryKOB-0.12.4.jar
+# ---- query_experiment.sh [make sure updated]
+# [EXP1 EXP2]
+# ---- O_10_10_D_0_0:
+# ---- ---- iotdb-engine-enableCPVtrue.properties
+# ---- ---- iotdb-engine-enableCPVfalse.properties
+# ---- ---- write_data.sh
+# ---- ---- vary_w
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- vary_tqe
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# [EXP3]
+# ---- O_0_0_D_0_0:
+# ---- ---- iotdb-engine-enableCPVtrue.properties
+# ---- ---- iotdb-engine-enableCPVfalse.properties
+# ---- ---- write_data.sh
+# ---- ---- fix
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- O_30_10_D_0_0
+# ---- O_50_10_D_0_0
+# ---- O_70_10_D_0_0
+# ---- O_90_10_D_0_0
+# [EXP4]
+# ---- O_10_10_D_9_10
+# ---- O_10_10_D_29_10
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_69_10
+# ---- O_10_10_D_89_10
+# [EXP5]
+# ---- O_10_10_D_49_30
+# ---- O_10_10_D_49_50
+# ---- O_10_10_D_49_70
+# ---- O_10_10_D_49_90
+
+############################
+
+############################
+# [EXP1]
+############################
+
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_10_10_D_0_0
+cd O_10_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_10_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_0_0
+mkdir vary_w
+cd vary_w
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 1 2 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10575803591 2 2 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10575803591 10 2 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10575803591 20 2 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10575803591 50 2 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10575803591 100 2 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10575803591 200 2 >> result_8.txt
+java ProcessResult result_8.txt result_8.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10575803591 500 2 >> result_9.txt
+java ProcessResult result_9.txt result_9.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10575803591 1000 2 >> result_10.txt
+java ProcessResult result_10.txt result_10.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 1 1 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10575803591 2 1 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10575803591 10 1 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10575803591 20 1 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10575803591 50 1 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10575803591 100 1 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10575803591 200 1 >> result_8.txt
+java ProcessResult result_8.txt result_8.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10575803591 500 1 >> result_9.txt
+java ProcessResult result_9.txt result_9.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10575803591 1000 1 >> result_10.txt
+java ProcessResult result_10.txt result_10.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 1 3 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10575803591 2 3 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10575803591 10 3 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10575803591 20 3 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10575803591 50 3 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10575803591 100 3 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10575803591 200 3 >> result_8.txt
+java ProcessResult result_8.txt result_8.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10575803591 500 3 >> result_9.txt
+java ProcessResult result_9.txt result_9.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10575803591 1000 3 >> result_10.txt
+java ProcessResult result_10.txt result_10.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# [EXP2]
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_0_0
+mkdir vary_tqe
+cd vary_tqe
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 139565502 5 2 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMOC.csv
+./../../../query_experiment.sh 279131005 5 2 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMOC.csv
+./../../../query_experiment.sh 558262010 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+./../../../query_experiment.sh 1395655025 5 2 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMOC.csv
+./../../../query_experiment.sh 2791310050 5 2 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMOC.csv
+./../../../query_experiment.sh 5582620100 5 2 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10575803591 5 2 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 139565502 5 1 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMAC.csv
+./../../../query_experiment.sh 279131005 5 1 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMAC.csv
+./../../../query_experiment.sh 558262010 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+./../../../query_experiment.sh 1395655025 5 1 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMAC.csv
+./../../../query_experiment.sh 2791310050 5 1 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMAC.csv
+./../../../query_experiment.sh 5582620100 5 1 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10575803591 5 1 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 139565502 5 3 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultCPV.csv
+./../../../query_experiment.sh 279131005 5 3 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultCPV.csv
+./../../../query_experiment.sh 558262010 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+./../../../query_experiment.sh 1395655025 5 3 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultCPV.csv
+./../../../query_experiment.sh 2791310050 5 3 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultCPV.csv
+./../../../query_experiment.sh 5582620100 5 3 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10575803591 5 3 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+# [EXP3]
+# ---- O_0_0_D_0_0:
+# ---- ---- iotdb-engine-enableCPVtrue.properties
+# ---- ---- iotdb-engine-enableCPVfalse.properties
+# ---- ---- write_data.sh
+# ---- ---- fix
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- O_30_10_D_0_0
+# ---- O_50_10_D_0_0
+# ---- O_70_10_D_0_0
+# ---- O_90_10_D_0_0
+
+############################
+# O_0_0_D_0_0
+############################
+
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_0_0_D_0_0
+cd O_0_0_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_0_0_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_0_0_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_0_0_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_0_0 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_0_0_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_30_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_30_10_D_0_0
+cd O_30_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_30_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_30_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_30_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_30_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_30_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_50_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_50_10_D_0_0
+cd O_50_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_50_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_50_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_50_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_50_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_50_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_70_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_70_10_D_0_0
+cd O_70_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_70_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_70_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_70_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_70_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_70_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_90_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_90_10_D_0_0
+cd O_90_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_90_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_90_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_90_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_90_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_90_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+# [EXP4]
+# ---- O_10_10_D_0_0
+# ---- O_10_10_D_9_10
+# ---- O_10_10_D_29_10
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_69_10
+# ---- O_10_10_D_89_10
+
+############################
+# O_10_10_D_9_10
+############################
+
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_10_10_D_9_10
+cd O_10_10_D_9_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_9_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_9_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_9_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_10_10 9 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_9_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_29_10
+############################
+
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_10_10_D_29_10
+cd O_10_10_D_29_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_29_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_29_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_29_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_10_10 29 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_29_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_10
+############################
+
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_10_10_D_49_10
+cd O_10_10_D_49_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_10_10 49 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_49_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_69_10
+############################
+
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_10_10_D_69_10
+cd O_10_10_D_69_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_69_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_69_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_69_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_10_10 69 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_69_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_89_10
+############################
+
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_10_10_D_89_10
+cd O_10_10_D_89_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_89_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_89_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_89_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_10_10 89 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_89_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+# [EXP5]
+# ---- O_10_10_D_49_30
+# ---- O_10_10_D_49_50
+# ---- O_10_10_D_49_70
+# ---- O_10_10_D_49_90
+
+############################
+# O_10_10_D_49_30
+############################
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_10_10_D_49_30
+cd O_10_10_D_49_30
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_30/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_30/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_30/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_10_10 49 30 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_49_30
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_50
+############################
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_10_10_D_49_50
+cd O_10_10_D_49_50
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_50/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_50/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_50/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_10_10 49 50 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_49_50
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_70
+############################
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_10_10_D_49_70
+cd O_10_10_D_49_70
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_70/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_70/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_70/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_10_10 49 70 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_49_70
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_90
+############################
+cd /data3/ruilei/rl/KOB_testspace
+mkdir O_10_10_D_49_90
+cd O_10_10_D_49_90
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_90/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_90/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/KOB_O_10_10_D_49_90/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/KOB_testspace/WriteKOB-0.12.4.jar /data3/raw_data/rl/KOB/KOB-O_10_10 49 90 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_49_90
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10575803591 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+#########################
+# sum results
+# [EXP3]
+# ---- O_0_0_D_0_0
+# ---- O_30_10_D_0_0
+# ---- O_50_10_D_0_0
+# ---- O_70_10_D_0_0
+# ---- O_90_10_D_0_0
+# [EXP4]
+# ---- O_10_10_D_9_10
+# ---- O_10_10_D_29_10
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_69_10
+# ---- O_10_10_D_89_10
+# [EXP5]
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_49_30
+# ---- O_10_10_D_49_50
+# ---- O_10_10_D_49_70
+# ---- O_10_10_D_49_90
+#########################
+# [EXP3]
+cd /data3/ruilei/rl/KOB_testspace/O_0_0_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp3.csv
+
+cd /data3/ruilei/rl/KOB_testspace/O_30_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp3.csv
+
+cd /data3/ruilei/rl/KOB_testspace/O_50_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp3.csv
+
+cd /data3/ruilei/rl/KOB_testspace/O_70_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp3.csv
+
+cd /data3/ruilei/rl/KOB_testspace/O_90_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp3.csv
+
+# [EXP4]
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_9_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp4.csv
+
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_29_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp4.csv
+
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_49_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp4.csv
+
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_69_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp4.csv
+
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_89_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp4.csv
+
+# [EXP5]
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_49_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp5.csv
+
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_49_30
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp5.csv
+
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_49_50
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp5.csv
+
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_49_70
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp5.csv
+
+cd /data3/ruilei/rl/KOB_testspace/O_10_10_D_49_90
+cd fix
+cat result.csv >>/data3/ruilei/rl/KOB_testspace/exp5.csv
\ No newline at end of file
diff --git a/example/session/src/main/java/org/apache/iotdb/bash/run-MF03-exp.sh b/example/session/src/main/java/org/apache/iotdb/bash/run-MF03-exp.sh
new file mode 100644
index 0000000..49493e4
--- /dev/null
+++ b/example/session/src/main/java/org/apache/iotdb/bash/run-MF03-exp.sh
@@ -0,0 +1,1554 @@
+#!/bin/bash
+
+############################
+# extract small data for fast exp
+# java ExtractMF03Data inPath outPath timeIdx valueIdx lineNum
+# lineNum=-1 means extracting total lines
+############################
+cd /data3/raw_data/rl/MF03
+java ExtractMF03Data /data3/raw_data/data/MF03/allData.txt MF03.csv 0 4 1329955200000000000 1329966000000000000
+
+############################
+# generate out-of-order source data
+# java OverlapGenerator inPath outPath timeIdx valueIdx overlapPercentage overlapDepth
+# overlapPercentage [0,100]
+# overlapDepth [0,50]
+############################
+cp MF03.csv MF03-O_0_0
+
+java OverlapGenerator MF03.csv MF03-O_10_10 0 1 10 10
+java OverlapGenerator MF03.csv MF03-O_30_10 0 1 30 10
+java OverlapGenerator MF03.csv MF03-O_50_10 0 1 50 10
+java OverlapGenerator MF03.csv MF03-O_70_10 0 1 70 10
+java OverlapGenerator MF03.csv MF03-O_90_10 0 1 90 10
+
+############################
+# /data3/raw_data/rl
+# ---- MF03
+# /data3/ruilei/rl/dataSpace
+# /data3/ruilei/rl/iotdb-server-0.12.4
+# /data3/ruilei/rl/iotdb-engine-example.properties
+# /data3/ruilei/rl/tool.sh
+# /data3/ruilei/rl/ProcessResult.class
+# /data3/ruilei/rl/ProcessResult.java
+# /data3/ruilei/rl/SumResultUnify.class
+# /data3/ruilei/rl/SumResultUnify.java
+# /data3/ruilei/rl/MF03_testspace
+# ---- WriteMF03-0.12.4.jar [make sure updated][time ns ms value long float type][device measurement path]
+# ---- QueryMF03-0.12.4.jar [make sure updated][time ns ms value long float type][device measurement path]
+# ---- query_experiment.sh [make sure updated][call jar name]
+# [EXP1 EXP2]
+# ---- O_10_10_D_0_0:
+# ---- ---- iotdb-engine-enableCPVtrue.properties
+# ---- ---- iotdb-engine-enableCPVfalse.properties
+# ---- ---- write_data.sh
+# ---- ---- vary_w
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- vary_tqe
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# [EXP3]
+# ---- O_0_0_D_0_0:
+# ---- ---- iotdb-engine-enableCPVtrue.properties
+# ---- ---- iotdb-engine-enableCPVfalse.properties
+# ---- ---- write_data.sh
+# ---- ---- fix
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- O_30_10_D_0_0
+# ---- O_50_10_D_0_0
+# ---- O_70_10_D_0_0
+# ---- O_90_10_D_0_0
+# [EXP4]
+# ---- O_10_10_D_9_10
+# ---- O_10_10_D_29_10
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_69_10
+# ---- O_10_10_D_89_10
+# [EXP5]
+# ---- O_10_10_D_10_30
+# ---- O_10_10_D_10_50
+# ---- O_10_10_D_10_70
+# ---- O_10_10_D_10_90
+
+############################
+
+############################
+# [EXP1]
+############################
+
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_10_10_D_0_0
+cd O_10_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_10_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_0_0
+mkdir vary_w
+cd vary_w
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 1 2 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10799982233001 2 2 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10799982233001 10 2 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10799982233001 20 2 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10799982233001 50 2 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10799982233001 100 2 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10799982233001 200 2 >> result_8.txt
+java ProcessResult result_8.txt result_8.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10799982233001 500 2 >> result_9.txt
+java ProcessResult result_9.txt result_9.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10799982233001 1000 2 >> result_10.txt
+java ProcessResult result_10.txt result_10.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 1 1 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10799982233001 2 1 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10799982233001 10 1 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10799982233001 20 1 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10799982233001 50 1 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10799982233001 100 1 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10799982233001 200 1 >> result_8.txt
+java ProcessResult result_8.txt result_8.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10799982233001 500 1 >> result_9.txt
+java ProcessResult result_9.txt result_9.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10799982233001 1000 1 >> result_10.txt
+java ProcessResult result_10.txt result_10.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 1 3 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10799982233001 2 3 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10799982233001 10 3 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10799982233001 20 3 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10799982233001 50 3 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10799982233001 100 3 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10799982233001 200 3 >> result_8.txt
+java ProcessResult result_8.txt result_8.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10799982233001 500 3 >> result_9.txt
+java ProcessResult result_9.txt result_9.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10799982233001 1000 3 >> result_10.txt
+java ProcessResult result_10.txt result_10.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# [EXP2]
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_0_0
+mkdir vary_tqe
+cd vary_tqe
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 255534297777 5 2 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMOC.csv
+./../../../query_experiment.sh 511068595555 5 2 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMOC.csv
+./../../../query_experiment.sh 1022137191110 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+./../../../query_experiment.sh 2555342977775 5 2 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMOC.csv
+./../../../query_experiment.sh 5110685955550 5 2 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10799982233001 5 2 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 255534297777 5 1 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMAC.csv
+./../../../query_experiment.sh 511068595555 5 1 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMAC.csv
+./../../../query_experiment.sh 1022137191110 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+./../../../query_experiment.sh 2555342977775 5 1 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMAC.csv
+./../../../query_experiment.sh 5110685955550 5 1 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10799982233001 5 1 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 255534297777 5 3 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultCPV.csv
+./../../../query_experiment.sh 511068595555 5 3 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultCPV.csv
+./../../../query_experiment.sh 1022137191110 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+./../../../query_experiment.sh 2555342977775 5 3 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultCPV.csv
+./../../../query_experiment.sh 5110685955550 5 3 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10799982233001 5 3 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+# [EXP3]
+# ---- O_0_0_D_0_0:
+# ---- ---- iotdb-engine-enableCPVtrue.properties
+# ---- ---- iotdb-engine-enableCPVfalse.properties
+# ---- ---- write_data.sh
+# ---- ---- fix
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- O_30_10_D_0_0
+# ---- O_50_10_D_0_0
+# ---- O_70_10_D_0_0
+# ---- O_90_10_D_0_0
+
+############################
+# O_0_0_D_0_0
+############################
+
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_0_0_D_0_0
+cd O_0_0_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_0_0_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_0_0_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_0_0_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_0_0 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_0_0_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_30_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_30_10_D_0_0
+cd O_30_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_30_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_30_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_30_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_30_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_30_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_50_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_50_10_D_0_0
+cd O_50_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_50_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_50_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_50_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_50_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_50_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_70_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_70_10_D_0_0
+cd O_70_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_70_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_70_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_70_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_70_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_70_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_90_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_90_10_D_0_0
+cd O_90_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_90_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_90_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_90_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_90_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_90_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+# [EXP4]
+# ---- O_10_10_D_0_0
+# ---- O_10_10_D_9_10
+# ---- O_10_10_D_29_10
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_69_10
+# ---- O_10_10_D_89_10
+
+############################
+# O_10_10_D_9_10
+############################
+
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_10_10_D_9_10
+cd O_10_10_D_9_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_9_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_9_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_9_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_10_10 9 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_9_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_29_10
+############################
+
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_10_10_D_29_10
+cd O_10_10_D_29_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_29_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_29_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_29_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_10_10 29 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_29_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_10
+############################
+
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_10_10_D_49_10
+cd O_10_10_D_49_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_10_10 49 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_49_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_69_10
+############################
+
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_10_10_D_69_10
+cd O_10_10_D_69_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_69_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_69_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_69_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_10_10 69 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_69_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_89_10
+############################
+
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_10_10_D_89_10
+cd O_10_10_D_89_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_89_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_89_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_89_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_10_10 89 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_89_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+# [EXP5]
+# ---- O_10_10_D_49_30
+# ---- O_10_10_D_49_50
+# ---- O_10_10_D_49_70
+# ---- O_10_10_D_49_90
+
+############################
+# O_10_10_D_49_30
+############################
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_10_10_D_49_30
+cd O_10_10_D_49_30
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_30/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_30/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_30/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_10_10 49 30 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_49_30
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_50
+############################
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_10_10_D_49_50
+cd O_10_10_D_49_50
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_50/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_50/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_50/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_10_10 49 50 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_49_50
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_70
+############################
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_10_10_D_49_70
+cd O_10_10_D_49_70
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_70/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_70/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_70/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_10_10 49 70 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_49_70
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_90
+############################
+cd /data3/ruilei/rl/MF03_testspace
+mkdir O_10_10_D_49_90
+cd O_10_10_D_49_90
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_90/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_90/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/MF03_O_10_10_D_49_90/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ns ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/MF03_testspace/WriteMF03-0.12.4.jar /data3/raw_data/rl/MF03/MF03-O_10_10 49 90 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_49_90
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 10799982233001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+#########################
+# sum results
+# [EXP3]
+# ---- O_0_0_D_0_0
+# ---- O_30_10_D_0_0
+# ---- O_50_10_D_0_0
+# ---- O_70_10_D_0_0
+# ---- O_90_10_D_0_0
+# [EXP4]
+# ---- O_10_10_D_9_10
+# ---- O_10_10_D_29_10
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_69_10
+# ---- O_10_10_D_89_10
+# [EXP5]
+# ---- O_10_10_D_49_30
+# ---- O_10_10_D_49_50
+# ---- O_10_10_D_49_70
+# ---- O_10_10_D_49_90
+#########################
+# [EXP3]
+cd /data3/ruilei/rl/MF03_testspace/O_0_0_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp3.csv
+
+cd /data3/ruilei/rl/MF03_testspace/O_30_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp3.csv
+
+cd /data3/ruilei/rl/MF03_testspace/O_50_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp3.csv
+
+cd /data3/ruilei/rl/MF03_testspace/O_70_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp3.csv
+
+cd /data3/ruilei/rl/MF03_testspace/O_90_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp3.csv
+
+# [EXP4]
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_9_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp4.csv
+
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_29_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp4.csv
+
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_49_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp4.csv
+
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_69_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp4.csv
+
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_89_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp4.csv
+
+# [EXP5]
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_49_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp5.csv
+
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_49_30
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp5.csv
+
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_49_50
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp5.csv
+
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_49_70
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp5.csv
+
+cd /data3/ruilei/rl/MF03_testspace/O_10_10_D_49_90
+cd fix
+cat result.csv >>/data3/ruilei/rl/MF03_testspace/exp5.csv
\ No newline at end of file
diff --git a/example/session/src/main/java/org/apache/iotdb/bash/run-RcvTime-exp.sh b/example/session/src/main/java/org/apache/iotdb/bash/run-RcvTime-exp.sh
new file mode 100644
index 0000000..55e9c4e
--- /dev/null
+++ b/example/session/src/main/java/org/apache/iotdb/bash/run-RcvTime-exp.sh
@@ -0,0 +1,1553 @@
+#!/bin/bash
+
+############################
+# extract small data for fast exp
+# java ExtractFullGameData inPath outPath timeIdx valueIdx lineNum
+# lineNum=-1 means extracting total lines
+############################
+cd /data3/raw_data/rl/RcvTime
+
+############################
+# generate out-of-order source data
+# java OverlapGenerator inPath outPath timeIdx valueIdx overlapPercentage overlapDepth
+# overlapPercentage [0,100]
+# overlapDepth [0,50]
+############################
+cp RcvTime.csv RcvTime-O_0_0
+
+java OverlapGenerator RcvTime.csv RcvTime-O_10_10 0 1 10 10
+java OverlapGenerator RcvTime.csv RcvTime-O_30_10 0 1 30 10
+java OverlapGenerator RcvTime.csv RcvTime-O_50_10 0 1 50 10
+java OverlapGenerator RcvTime.csv RcvTime-O_70_10 0 1 70 10
+java OverlapGenerator RcvTime.csv RcvTime-O_90_10 0 1 90 10
+
+############################
+# /data3/raw_data/rl
+# ---- RcvTime
+# /data3/ruilei/rl/dataSpace
+# /data3/ruilei/rl/iotdb-server-0.12.4
+# /data3/ruilei/rl/iotdb-engine-example.properties
+# /data3/ruilei/rl/tool.sh
+# /data3/ruilei/rl/ProcessResult.class
+# /data3/ruilei/rl/ProcessResult.java
+# /data3/ruilei/rl/SumResultUnify.class
+# /data3/ruilei/rl/SumResultUnify.java
+# /data3/ruilei/rl/RcvTime_testspace
+# ---- WriteRcvTime-0.12.4.jar [make sure updated][time ms ms value long float type][device measurement path]
+# ---- QueryFullGame-0.12.4.jar [make sure updated][time ms ms value long float type][device measurement path]
+# ---- query_experiment.sh [make sure updated][call jar name]
+# [EXP1 EXP2]
+# ---- O_10_10_D_0_0:
+# ---- ---- iotdb-engine-enableCPVtrue.properties
+# ---- ---- iotdb-engine-enableCPVfalse.properties
+# ---- ---- write_data.sh
+# ---- ---- vary_w
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- vary_tqe
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# [EXP3]
+# ---- O_0_0_D_0_0:
+# ---- ---- iotdb-engine-enableCPVtrue.properties
+# ---- ---- iotdb-engine-enableCPVfalse.properties
+# ---- ---- write_data.sh
+# ---- ---- fix
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- O_30_10_D_0_0
+# ---- O_50_10_D_0_0
+# ---- O_70_10_D_0_0
+# ---- O_90_10_D_0_0
+# [EXP4]
+# ---- O_10_10_D_9_10
+# ---- O_10_10_D_29_10
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_69_10
+# ---- O_10_10_D_89_10
+# [EXP5]
+# ---- O_10_10_D_9_30
+# ---- O_10_10_D_9_50
+# ---- O_10_10_D_9_70
+# ---- O_10_10_D_9_90
+
+############################
+
+############################
+# [EXP1]
+############################
+
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_10_10_D_0_0
+cd O_10_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_10_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_0_0
+mkdir vary_w
+cd vary_w
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 1 2 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMOC.csv
+./../../../query_experiment.sh 26461736001 2 2 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMOC.csv
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+./../../../query_experiment.sh 26461736001 10 2 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMOC.csv
+./../../../query_experiment.sh 26461736001 20 2 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMOC.csv
+./../../../query_experiment.sh 26461736001 50 2 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMOC.csv
+./../../../query_experiment.sh 26461736001 100 2 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultMOC.csv
+./../../../query_experiment.sh 26461736001 200 2 >> result_8.txt
+java ProcessResult result_8.txt result_8.out ../sumResultMOC.csv
+./../../../query_experiment.sh 26461736001 500 2 >> result_9.txt
+java ProcessResult result_9.txt result_9.out ../sumResultMOC.csv
+./../../../query_experiment.sh 26461736001 1000 2 >> result_10.txt
+java ProcessResult result_10.txt result_10.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 1 1 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMAC.csv
+./../../../query_experiment.sh 26461736001 2 1 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMAC.csv
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+./../../../query_experiment.sh 26461736001 10 1 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMAC.csv
+./../../../query_experiment.sh 26461736001 20 1 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMAC.csv
+./../../../query_experiment.sh 26461736001 50 1 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMAC.csv
+./../../../query_experiment.sh 26461736001 100 1 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultMAC.csv
+./../../../query_experiment.sh 26461736001 200 1 >> result_8.txt
+java ProcessResult result_8.txt result_8.out ../sumResultMAC.csv
+./../../../query_experiment.sh 26461736001 500 1 >> result_9.txt
+java ProcessResult result_9.txt result_9.out ../sumResultMAC.csv
+./../../../query_experiment.sh 26461736001 1000 1 >> result_10.txt
+java ProcessResult result_10.txt result_10.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 1 3 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultCPV.csv
+./../../../query_experiment.sh 26461736001 2 3 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultCPV.csv
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+./../../../query_experiment.sh 26461736001 10 3 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultCPV.csv
+./../../../query_experiment.sh 26461736001 20 3 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultCPV.csv
+./../../../query_experiment.sh 26461736001 50 3 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultCPV.csv
+./../../../query_experiment.sh 26461736001 100 3 >> result_7.txt
+java ProcessResult result_7.txt result_7.out ../sumResultCPV.csv
+./../../../query_experiment.sh 26461736001 200 3 >> result_8.txt
+java ProcessResult result_8.txt result_8.out ../sumResultCPV.csv
+./../../../query_experiment.sh 26461736001 500 3 >> result_9.txt
+java ProcessResult result_9.txt result_9.out ../sumResultCPV.csv
+./../../../query_experiment.sh 26461736001 1000 3 >> result_10.txt
+java ProcessResult result_10.txt result_10.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# [EXP2]
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_0_0
+mkdir vary_tqe
+cd vary_tqe
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 509033300 5 2 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMOC.csv
+./../../../query_experiment.sh 1018066600 5 2 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMOC.csv
+./../../../query_experiment.sh 2036133200 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+./../../../query_experiment.sh 5090333000 5 2 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMOC.csv
+./../../../query_experiment.sh 10180666000 5 2 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMOC.csv
+./../../../query_experiment.sh 26461736001 5 2 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 509033300 5 1 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultMAC.csv
+./../../../query_experiment.sh 1018066600 5 1 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultMAC.csv
+./../../../query_experiment.sh 2036133200 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+./../../../query_experiment.sh 5090333000 5 1 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultMAC.csv
+./../../../query_experiment.sh 10180666000 5 1 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultMAC.csv
+./../../../query_experiment.sh 26461736001 5 1 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 509033300 5 3 >> result_1.txt
+java ProcessResult result_1.txt result_1.out ../sumResultCPV.csv
+./../../../query_experiment.sh 1018066600 5 3 >> result_2.txt
+java ProcessResult result_2.txt result_2.out ../sumResultCPV.csv
+./../../../query_experiment.sh 2036133200 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+./../../../query_experiment.sh 5090333000 5 3 >> result_4.txt
+java ProcessResult result_4.txt result_4.out ../sumResultCPV.csv
+./../../../query_experiment.sh 10180666000 5 3 >> result_5.txt
+java ProcessResult result_5.txt result_5.out ../sumResultCPV.csv
+./../../../query_experiment.sh 26461736001 5 3 >> result_6.txt
+java ProcessResult result_6.txt result_6.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+# [EXP3]
+# ---- O_0_0_D_0_0:
+# ---- ---- iotdb-engine-enableCPVtrue.properties
+# ---- ---- iotdb-engine-enableCPVfalse.properties
+# ---- ---- write_data.sh
+# ---- ---- fix
+# ---- ---- ---- moc
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- mac
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- ---- ---- cpv
+# ---- ---- ---- ---- change_interval_experiments.sh
+# ---- ---- ---- ---- ProcessResult.class
+# ---- ---- ---- ---- ProcessResult.java
+# ---- O_30_10_D_0_0
+# ---- O_50_10_D_0_0
+# ---- O_70_10_D_0_0
+# ---- O_90_10_D_0_0
+
+############################
+# O_0_0_D_0_0
+############################
+
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_0_0_D_0_0
+cd O_0_0_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_0_0_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_0_0_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_0_0_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_0_0 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_0_0_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_30_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_30_10_D_0_0
+cd O_30_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_30_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_30_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_30_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_30_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_30_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_50_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_50_10_D_0_0
+cd O_50_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_50_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_50_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_50_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_50_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_50_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_70_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_70_10_D_0_0
+cd O_70_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_70_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_70_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_70_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_70_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_70_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_90_10_D_0_0
+############################
+
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_90_10_D_0_0
+cd O_90_10_D_0_0
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_90_10_D_0_0/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_90_10_D_0_0/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_90_10_D_0_0/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_90_10 0 0 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_90_10_D_0_0
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+# [EXP4]
+# ---- O_10_10_D_0_0
+# ---- O_10_10_D_9_10
+# ---- O_10_10_D_29_10
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_69_10
+# ---- O_10_10_D_89_10
+
+############################
+# O_10_10_D_9_10
+############################
+
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_10_10_D_9_10
+cd O_10_10_D_9_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_9_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_9_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_9_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_10_10 9 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_9_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_29_10
+############################
+
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_10_10_D_29_10
+cd O_10_10_D_29_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_29_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_29_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_29_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_10_10 29 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_29_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_10
+############################
+
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_10_10_D_49_10
+cd O_10_10_D_49_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_10_10 49 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_49_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_69_10
+############################
+
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_10_10_D_69_10
+cd O_10_10_D_69_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_69_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_69_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_69_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_10_10 69 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_69_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_89_10
+############################
+
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_10_10_D_89_10
+cd O_10_10_D_89_10
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_89_10/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_89_10/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_89_10/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_10_10 89 10 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_89_10
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+# [EXP5]
+# ---- O_10_10_D_49_30
+# ---- O_10_10_D_49_50
+# ---- O_10_10_D_49_70
+# ---- O_10_10_D_49_90
+
+############################
+# O_10_10_D_49_30
+############################
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_10_10_D_49_30
+cd O_10_10_D_49_30
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_30/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_30/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_30/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_10_10 49 30 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_49_30
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_50
+############################
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_10_10_D_49_50
+cd O_10_10_D_49_50
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_50/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_50/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_50/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_10_10 49 50 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_49_50
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_70
+############################
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_10_10_D_49_70
+cd O_10_10_D_49_70
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_70/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_70/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_70/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_10_10 49 70 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_49_70
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+############################
+# O_10_10_D_49_90
+############################
+cd /data3/ruilei/rl/RcvTime_testspace
+mkdir O_10_10_D_49_90
+cd O_10_10_D_49_90
+
+############################
+# prepare iotdb-engine-enableCPVtrue.properties and iotdb-engine-enableCPVfalse.properties
+############################
+./../../tool.sh enable_CPV true ../../iotdb-engine-example.properties
+./../../tool.sh system_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_90/system ../../iotdb-engine-example.properties
+./../../tool.sh data_dirs /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_90/data ../../iotdb-engine-example.properties
+./../../tool.sh wal_dir /data3/ruilei/rl/dataSpace/RcvTime_O_10_10_D_49_90/wal ../../iotdb-engine-example.properties
+./../../tool.sh timestamp_precision ms ../../iotdb-engine-example.properties
+
+./../../tool.sh unseq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh seq_tsfile_size 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh avg_series_point_number_threshold 10000 ../../iotdb-engine-example.properties
+./../../tool.sh compaction_strategy NO_COMPACTION ../../iotdb-engine-example.properties
+./../../tool.sh enable_unseq_compaction false ../../iotdb-engine-example.properties
+./../../tool.sh page_size_in_byte 1073741824 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_address 0.0.0.0 ../../iotdb-engine-example.properties
+./../../tool.sh rpc_port 6667 ../../iotdb-engine-example.properties
+
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVtrue.properties
+
+./../../tool.sh enable_CPV false ../../iotdb-engine-example.properties
+cp ../../iotdb-engine-example.properties iotdb-engine-enableCPVfalse.properties
+
+############################
+# run write_data.sh
+# java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar filePath deleteFreq deleteLen timeIdx valueIdx
+############################
+cp iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+cd /data3/ruilei/rl/iotdb-server-0.12.4/sbin
+./start-server.sh &
+sleep 3s
+java -jar /data3/ruilei/rl/RcvTime_testspace/WriteRcvTime-0.12.4.jar /data3/raw_data/rl/RcvTime/RcvTime-O_10_10 49 90 0 1
+sleep 3s
+./stop-server.sh
+sleep 3s
+echo 3 | sudo tee /proc/sys/vm/drop_caches
+
+
+############################
+# run change_interval_experiments.sh for each approach
+# ./../../../query_experiment.sh tqe w approach
+############################
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_49_90
+mkdir fix
+cd fix
+
+mkdir moc
+cd moc
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 2 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMOC.csv
+
+cd ..
+mkdir mac
+cd mac
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVfalse.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 1 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultMAC.csv
+
+cd ..
+mkdir cpv
+cd cpv
+cp /data3/ruilei/rl/ProcessResult.* .
+cp ../../iotdb-engine-enableCPVtrue.properties /data3/ruilei/rl/iotdb-server-0.12.4/conf/iotdb-engine.properties
+./../../../query_experiment.sh 26461736001 5 3 >> result_3.txt
+java ProcessResult result_3.txt result_3.out ../sumResultCPV.csv
+
+cd ..
+cp /data3/ruilei/rl/SumResultUnify.* .
+java SumResultUnify sumResultMOC.csv sumResultMAC.csv sumResultCPV.csv result.csv
+
+#########################
+# sum results
+# [EXP3]
+# ---- O_0_0_D_0_0
+# ---- O_30_10_D_0_0
+# ---- O_50_10_D_0_0
+# ---- O_70_10_D_0_0
+# ---- O_90_10_D_0_0
+# [EXP4]
+# ---- O_10_10_D_9_10
+# ---- O_10_10_D_29_10
+# ---- O_10_10_D_49_10
+# ---- O_10_10_D_69_10
+# ---- O_10_10_D_89_10
+# [EXP5]
+# ---- O_10_10_D_49_30
+# ---- O_10_10_D_49_50
+# ---- O_10_10_D_49_70
+# ---- O_10_10_D_49_90
+#########################
+# [EXP3]
+cd /data3/ruilei/rl/RcvTime_testspace/O_0_0_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp3.csv
+
+cd /data3/ruilei/rl/RcvTime_testspace/O_30_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp3.csv
+
+cd /data3/ruilei/rl/RcvTime_testspace/O_50_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp3.csv
+
+cd /data3/ruilei/rl/RcvTime_testspace/O_70_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp3.csv
+
+cd /data3/ruilei/rl/RcvTime_testspace/O_90_10_D_0_0
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp3.csv
+
+# [EXP4]
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_9_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp4.csv
+
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_29_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp4.csv
+
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_49_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp4.csv
+
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_69_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp4.csv
+
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_89_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp4.csv
+
+# [EXP5]
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_49_10
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp5.csv
+
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_49_30
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp5.csv
+
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_49_50
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp5.csv
+
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_49_70
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp5.csv
+
+cd /data3/ruilei/rl/RcvTime_testspace/O_10_10_D_49_90
+cd fix
+cat result.csv >>/data3/ruilei/rl/RcvTime_testspace/exp5.csv