Documentation Index
Fetch the complete documentation index at: https://mintlify.com/questdb/questdb/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start Guide
Get QuestDB running locally in under 5 minutes using Docker. This guide will walk you through starting QuestDB, connecting to the web console, and running your first query.Prerequisites
- Docker installed on your system
Step 1: Start QuestDB
Run the Docker container
Open your terminal and run the following command:This command:
- Downloads the latest QuestDB Docker image (if not already present)
- Starts QuestDB with three ports exposed:
- 9000: Web Console and REST API
- 9009: InfluxDB Line Protocol (ILP) for high-performance ingestion
- 8812: PostgreSQL wire protocol for programmatic queries
The container runs interactively. To stop it, press
Ctrl+C in your terminal.Step 2: Access the Web Console
Open your browser
Navigate to http://localhost:9000You’ll see the QuestDB Web Console—an interactive SQL editor with syntax highlighting, query history, and data visualization capabilities.
Step 3: Run Your First Query
Create a table
In the Web Console SQL editor, create a sample table:
The
TIMESTAMP(timestamp) designates the timestamp column as the table’s designated timestamp. The PARTITION BY DAY clause creates daily partitions for efficient data management.Query the data
Run a query using QuestDB’s time-series SQL extensions:This query uses
SAMPLE BY to aggregate data into 5-minute intervals—a powerful time-series feature unique to QuestDB.What’s Next?
Ingestion Methods
Learn about different ways to ingest data into QuestDB
SQL Reference
Explore QuestDB’s SQL dialect and time-series extensions
Client Libraries
Use official clients for Java, Python, Go, Rust, and more
Deployment
Deploy QuestDB in production on Docker, Kubernetes, or cloud platforms
SQL Reference
Explore QuestDB’s SQL extensions including ASOF JOIN, WINDOW JOIN, and time-series functions
Client Libraries
Connect from Python, Java, Go, Node.js, Rust, C/C++, and .NET
Deployment
Deploy QuestDB to production with Docker, Kubernetes, AWS, GCP, or DigitalOcean
Stopping QuestDB
To stop the Docker container:- If running interactively: Press
Ctrl+Cin your terminal - If running detached: Run
docker stop <container_id>
Need Help?
Community Forum
Join technical discussions and ask questions
Public Slack
Chat with the QuestDB team and community
GitHub Issues
Report bugs or request features
Stack Overflow
Find common troubleshooting solutions