THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
For example, using the continuous query described below, the IoTDB downsamples the CPU load metric, and keeps a single average datapoint per 15 minutes grouped by server region:
CREATE CONTINUOUS QUERY "downsampled_cpu_load"
ON database_name
BEGIN
SELECT mean(value) as value,
INTO "downsampled.cpu_load"
FROM cpu_load
GROUP BY time(15m), region
END