QuestDB

这是一个开放源代码的 SQL 数据库,旨在更快地处理时间序列数据。「An open source SQL database designed to process time series data, faster」

Github星跟踪图

English | 简体中文 | العربية

QuestDB

QuestDB is a high-performance, open-source SQL database for applications in
financial services, IoT, machine learning, DevOps and observability. It includes
endpoints for PostgreSQL wire protocol, high-throughput schema-agnostic
ingestion using InfluxDB Line Protocol, and a REST API for queries, bulk
imports, and exports.

QuestDB implements ANSI SQL with native extensions for time-oriented language
features. These extensions make it simple to correlate data from multiple
sources using relational and time series joins. QuestDB achieves high
performance from a column-oriented storage model, massively-parallelized vector
execution, SIMD instructions, and various low-latency techniques. The entire
codebase was built from the ground up in Java and C++, with no dependencies, and
is 100% free from garbage collection.

Try QuestDB

We provide a live demo provisioned with the latest
QuestDB release and a 1.6 billion row dataset with 10 years of NYC taxi trips to
query.

To run QuestDB, Docker can be used to get started quickly:

docker run -p 9000:9000 -p 9009:9009 -p 8812:8812 questdb/questdb

macOS users can use Homebrew:

brew install questdb
brew services start questdb

The QuestDB downloads page provides direct
downloads for binaries and has details for other installation and deployment
methods.

Connecting to QuestDB

You can interact with QuestDB using the following interfaces:

How QuestDB compares to other open source TSDBs

Here are high-cardinality
Time Series Benchmark Suite
results using the cpu-only use case with 6 workers on an AMD Ryzen 3970X:

The following table shows query execution time of a billion rows run on a
c5.metal instance using 16 of the 96 threads available:

Query Runtime
SELECT sum(double) FROM 1bn 0.061 secs
SELECT tag, sum(double) FROM 1bn 0.179 secs
SELECT tag, sum(double) FROM 1bn WHERE timestamp in '2019' 0.05 secs

Documentation & resources

Deployment

  • An AWS AMI is provided via
    the AWS marketplace.
  • The Docker deployment guide
    shows how to start using the official Docker image.
  • DigitalOcean droplets can be
    launched as 1-Click applications on the DigitalOcean marketplace.
  • Basic Kubernetes documentation
    describes how to get started using the official Helm chart.

Contribute

We are always happy to have contributions to the project whether it is source
code, documentation, bug reports, feature requests or feedback. To get started
with contributing:

As a sign of our gratitude, we'll send contributors some of our QuestDB swag
such as stickers and t-shirts! :star2:

A big thanks goes to the following wonderful people who have contributed to
QuestDB: (emoji key):

This project follows the
all-contributors
specification. Contributions of any kind welcome!

概览

名称与所有者questdb/questdb
主编程语言Java
编程语言Java (语言数: 11)
平台BSD, Docker, Kubernetes, Linux, Mac, Windows
许可证Apache License 2.0
发布数99
最新版本名称7.4.2 (发布于 2024-04-22 15:47:29)
第一版名称1.0 (发布于 )
创建于2014-04-28 23:29:15
推送于2024-05-18 21:39:47
最后一次提交2024-05-19 00:38:37
星数13.5k
关注者数130
派生数1k
提交数4.7k
已启用问题?
问题数1629
打开的问题数481
拉请求数2355
打开的拉请求数17
关闭的拉请求数400
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部