Skip to content

An open source SQL database designed to process time series data, faster

License

Notifications You must be signed in to change notification settings

MaxCodeXTC/questdb

QuestDB Logo

QuestDB community Slack channelQuestDB open source contributorsQuestDB on Apache Maven

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.

QuestDB Web Console showing multiple SQL statements and visualizing a query as a chart

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.

Connect 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:

A chart comparing the maximum throughput of QuestDB, ClickHouse, TimescaleDB and InfluxDB.

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

QueryRuntime
SELECT sum(double) FROM 1bn0.061 secs
SELECT tag, sum(double) FROM 1bn0.179 secs
SELECT tag, sum(double) FROM 1bn WHERE timestamp in '2019'0.05 secs

Resources

๐Ÿ“š Read the docs

โ“ Get support

๐Ÿšข Deploy QuestDB

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 also send QuestDB swag to our contributors. Claim your swag here.

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


clickingbuttons

๐Ÿ’ป๐Ÿค”๐Ÿ““

ideoma

๐Ÿ’ป๐Ÿ““โš ๏ธ

tonytamwk

๐Ÿ’ป๐Ÿ““

sirinath

๐Ÿค”

igor-suhorukov

๐Ÿ’ป๐Ÿค”

mick2004

๐Ÿ’ป๐Ÿ“ฆ

rawkode

๐Ÿ’ป๐Ÿš‡

solidnerd

๐Ÿ’ป๐Ÿš‡

solanav

๐Ÿ’ป๐Ÿ“–

shantanoo-desai

๐Ÿ“๐Ÿ’ก

alexprut

๐Ÿ’ป๐Ÿšง

lbowman

๐Ÿ’ปโš ๏ธ

chankeypathak

๐Ÿ“

upsidedownsmile

๐Ÿ’ป

Nagriar

๐Ÿ’ป

piotrrzysko

๐Ÿ’ปโš ๏ธ

mpsq

๐Ÿ’ป

siddheshlatkar

๐Ÿ’ป

Yitaek

โœ…๐Ÿ’ก

gabor-boros

โœ…๐Ÿ’ก

kovid-r

โœ…๐Ÿ’ก

TimBo93

๐Ÿ›๐Ÿ““

zikani03

๐Ÿ’ป

jaugsburger

๐Ÿ’ป๐Ÿšง

TheTanc

๐Ÿ“†๐Ÿ–‹๐Ÿค”

davidgs

๐Ÿ›๐Ÿ–‹

kaishin

๐Ÿ’ป๐Ÿ’ก

bluestreak01

๐Ÿ’ป๐Ÿšงโš ๏ธ

patrickSpaceSurfer

๐Ÿ’ป๐Ÿšงโš ๏ธ

chenrui333

๐Ÿš‡

bsmth

๐Ÿ“–๐Ÿ–‹

Ugbot

๐Ÿ’ฌ๐Ÿ““๐Ÿ“ข

lepolac

๐Ÿ’ป๐Ÿ”ง

tiagostutz

๐Ÿ““๐Ÿ›๐Ÿ“†

Lyncee59

๐Ÿค”๐Ÿ’ป

rrjanbiah

๐Ÿ›

sarunas-stasaitis

๐Ÿ›

RiccardoGiro

๐Ÿ›

duggar

๐Ÿ›

postol

๐Ÿ›

petrjahoda

๐Ÿ›

t00

๐Ÿ›

snenkov

๐Ÿ““๐Ÿ›๐Ÿค”

marregui

๐Ÿ’ป๐Ÿค”๐ŸŽจ

bratseth

๐Ÿ’ป๐Ÿค”๐Ÿ““

welly87

๐Ÿค”

fuzzthink

๐Ÿค”๐Ÿ““

nexthack

๐Ÿ’ป

g-metan

๐Ÿ›

tim2skew

๐Ÿ›๐Ÿ““

ospqsp

๐Ÿ›

SuperFluffy

๐Ÿ›

nu11ptr

๐Ÿ›

comunidadio

๐Ÿ›

mugendi

๐Ÿค”๐Ÿ›๐Ÿ“–

paulwoods222

๐Ÿ›

mingodad

๐Ÿค”๐Ÿ›๐Ÿ“–

houarizegai

๐Ÿ“–

jjsaunier

๐Ÿ›

zanek

๐Ÿค”๐Ÿ“†

Geekaylee

๐Ÿ““๐Ÿค”

lg31415

๐Ÿ›๐Ÿ“†

null-dev

๐Ÿ›๐Ÿ“†

ultd

๐Ÿค”๐Ÿ“†

ericsun2

๐Ÿค”๐Ÿ›๐Ÿ“†

giovannibonetti

๐Ÿ““๐Ÿ›๐Ÿ“†

wavded

๐Ÿ““๐Ÿ›

puzpuzpuz

๐Ÿ“–๐Ÿ’ป๐Ÿ““

rstreics

๐Ÿ’ป๐Ÿš‡๐Ÿ“–

mariusgheorghies

๐Ÿ’ป๐Ÿš‡๐Ÿ“–

pswu11

๐Ÿ–‹๐Ÿค”๐ŸŽจ

insmac

๐Ÿ’ป๐Ÿค”๐ŸŽจ

eugenels

๐Ÿ’ป๐Ÿค”๐Ÿšง

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

About

An open source SQL database designed to process time series data, faster

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java83.3%
  • C++9.5%
  • C3.2%
  • Assembly1.7%
  • TypeScript1.3%
  • JavaScript0.4%
  • Other0.6%