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.
Installation Guide
QuestDB can be installed using multiple methods depending on your environment and requirements. Choose the installation method that best fits your needs.Docker (Recommended)
Docker provides the fastest and most convenient way to get started with QuestDB.Basic Docker Setup
Docker with Persistent Storage
For production use, mount a volume to persist data:Named Container for Easy Management
Create a named container for easy start/stop operations:Homebrew (macOS)
macOS users can install QuestDB using Homebrew for a native experience.Start QuestDB as a service
When installed via Homebrew, QuestDB stores data in
/usr/local/var/questdb by default.Binary Installation
Download pre-built binaries for direct installation on Linux, macOS, or Windows.Download the binary
Visit the QuestDB releases page and download the appropriate binary for your platform:
questdb-<version>-rt-linux-amd64.tar.gzfor Linuxquestdb-<version>-rt-darwin-amd64.tar.gzfor macOSquestdb-<version>-rt-windows-amd64.zipfor Windows
Building from Source
For contributors and advanced users who want to build QuestDB from source.Prerequisites
- Java 11 64-bit or higher
- Maven 3
- Git
Build the JAR
Building with the web console and binaries takes longer but provides a complete distribution.
Building Native C/C++ Libraries
QuestDB uses native C/C++ libraries for performance-critical operations. To rebuild these:Install build tools
- Linux:
gcc,g++,cmake - macOS: Xcode Command Line Tools,
cmake - Windows: Visual Studio with C++ tools,
cmake
Verifying Your Installation
After installation, verify QuestDB is running correctly:Check the web console
Open http://localhost:9000 in your browser. You should see the QuestDB Web Console.
Port Reference
QuestDB uses the following default ports:| Port | Protocol | Description |
|---|---|---|
| 9000 | HTTP | Web Console and REST API |
| 9009 | TCP | InfluxDB Line Protocol (ILP) for high-performance ingestion |
| 8812 | TCP | PostgreSQL wire protocol for programmatic queries |
Next Steps
Quick Start
Run your first queries and explore QuestDB’s features
Configuration
Configure QuestDB for production workloads
Ingestion
Learn about data ingestion methods
Deployment
Deploy QuestDB to AWS, GCP, or Kubernetes
Troubleshooting
Port Already in Use
If you see an error about ports already in use:Docker Permission Errors
If you encounter permission errors when mounting volumes on Linux:Java Version Issues
Ensure you’re using Java 11 or higher:JAVA_HOME to point to Java 11+: