CnosDB
English | 简体中文
An Open Source Time Series Database with high performance, high compression ratio and high playability.
Features
-
High batch writing throughput.
-
High compression ratio.
-
Rich calculation algorithms.
Join the community
All developers/users who love time series databases are welcome to participate in the CnosDB User Group. Scan the QR code below and add CC to join the group.
Please check Instructions for joining the group beforehand.
Quick start
If you need a complete getting started guide, please check the Quickstart Guide
Construct
-
Clone
git clone https://github.com/cnosdatabase/cnosdb.git
-
Compile
go install ./...
Operation
-
Start
$GOPATH/bin/cnosdb
-
Use
$GOPATH/bin/cnosdb-cli
User's Guide
Create database
curl -i -XPOST http://localhost:8086/query --data-urlencode "q=CREATE DATABASE mydb"
Insert data
curl -i -XPOST 'http://localhost:8086/write?db=db' --data-binary 'cpu,host=server01,region=Beijing idle=0.72 1434055562000000000'
Query
curl -G 'http://localhost:8086/query?pretty=true' --data-urlencode "db=db" --data-urlencode "q=SELECT \"idle\" FROM \"cpu\" WHERE \"region\"='Beijing'"
How to contribute
Please refer to Contribution Guide to contribute to CnosDB.