JayLZhou / cnosdb

A high performance, high compression ratio, high usability open-source time-series database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Clone

    git clone https://github.com/cnosdatabase/cnosdb.git
    
  2. Compile

    go install ./...
    

Operation

  1. Start

    $GOPATH/bin/cnosdb
  2. 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.

License

MIT License

About

A high performance, high compression ratio, high usability open-source time-series database.

License:MIT License


Languages

Language:Go 99.8%Language:Makefile 0.1%Language:Assembly 0.0%