About QuestDB
QuestDB is an Apache-2.0 time-series database built for heavy ingestion and fast analytical queries. It stores data by column and time partition, ingests over InfluxDB Line Protocol, and extends SQL with clauses such as SAMPLE BY, LATEST ON and ASOF JOIN.
Market data, sensor readings and metrics fit this model, and on a CloudSat VPS the PostgreSQL wire endpoint lets Grafana, psql and standard drivers query it with no plugin.
The web console and REST API answer on port 9000, PostgreSQL wire on 8812 with a default admin / quest login, and line protocol over TCP on 9009.
What you get with QuestDB
- Columnar storage partitioned by time
- SQL with
SAMPLE BY,LATEST ONandASOF JOIN - InfluxDB Line Protocol over HTTP or TCP
- PostgreSQL wire protocol for clients and Grafana
- Web console for queries, CSV imports and charts
QuestDB use cases
- Store and query tick or order book data for trading research
- Collect IoT sensor readings at high rates
- Back Grafana dashboards with SQL over time series
After you deploy QuestDB
- As soon as the status reads Running, set
pg.passwordplushttp.userandhttp.passwordinserver.conf, then restart QuestDB. - Open
http://<server IP>:9000for the web console and create a first table with a designated timestamp. - Send ingestion clients to 9000 (line protocol over HTTP) or 9009 (TCP), and SQL clients to 8812.
- Admit these ports only from your own systems with CloudSat firewall rules.
QuestDB ports
Open these in your firewall if you use one: 9000/tcp Web console, REST API and ILP over HTTP, 8812/tcp PostgreSQL wire protocol, 9009/tcp ILP over TCP, 9003/tcp Health and metrics endpoint.
QuestDB FAQ
What are QuestDB's default credentials?
The PostgreSQL wire endpoint ships with user admin and password quest, and the HTTP console has no login until you set http.user and http.password. Change both before opening any port.
Can Grafana read from QuestDB?
Yes. Add it as a PostgreSQL data source on port 8812 or install the QuestDB data source plugin, then bucket time with SAMPLE BY in your queries.
Disclaimer. The QuestDB project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.