Skip to content
forked from cnosdb/cnosdb

An Open Source Distributed Time Series Database with high performance, high compression ratio and high usability.

License

Notifications You must be signed in to change notification settings

cyantangerine/cnosdb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codebeat badge GitHub

CnosDB

English | 简体中文

An Open Source Distributed Time Series Database with high performance, high compression ratio and high usability.

Click to view roadmap

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/cnosdb/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

An Open Source Distributed Time Series Database with high performance, high compression ratio and high usability.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.4%
  • Python 1.1%
  • Other 0.5%