CrateDB is a distributed SQL database ideal for IoT & industrial time series
data. This supplemental guide explains how the data generated for TSBS is stored,
additional flags available when using the data importer (tsbs_load_cratedb
),
and additional flags available for the query runner (tsbs_run_queries_cratedb
).
This should be read after the main README.
Data generated by tsbs_generate_data
for CrateDB is a "pseudo-TSV" format.
A file with generated data consists of the header and measurement records that are separated from the header by an empty line. Each record represented by one line with tab-separated elements:
An example of a header for the cpu-only
use case:
tags,hostname,region,datacenter,rack,os,arch,team,service,service_version,service_environment
cpu,usage_user,usage_system,usage_idle,usage_nice,usage_iowait,usage_irq,usage_softirq,usage_steal,usage_guest,usage_guest_nice
A single record consists of the table name, a JSON representation of tags,
timestamp, and rest measurement values. For instance, a partial example of a
single record for the cpu-only
use case:
cpu\t{"hostname":"host_0","region":"eu-central-1",...}\t1451606400000000000\t58\t2\t24\t...
The number of replicas per a measurement table.
The number of shards per a measurement table.
A comma-separated list of hostname of the nodes in the cluster.
A port to connect to database instances.
A user to connect to a CrateDB cluster.
A password for the user of a CrateDB cluster.
A comma-separated list of hostname of the nodes in the cluster.
A port to connect to database instances.
A user to connect to a CrateDB cluster.
A password for the user of a CrateDB cluster.
Set to print out a plan for a query.