Get started with QuestDB from the binaries
This page describes how to download and run QuestDB via binaries.
- Linux or FreeBSD versions include
questdb.sh
script, - Windows version has
questdb.exe
executable, - For macOS, check out Homebrew.
#
Download the binariesUse the following links to download a tarball for your operating system:
- Linux
- Windows
- FreeBSD
- Any (no JVM)
questdb-7.3.2-no-jre-bin.tar.gz
note
This package differs from others by not embedding Java.
You should use it only if there is no package specific to your platform.
In practice, this often means ARM Linux.
#
Java 11You need to have Java 11 installed locally. To check your installed version:
If you do not have Java installed, install one of the following supported packages for your operating system:
- AdoptOpenJDK
- Amazon Corretto
- OpenJDK
- Oracle Java
Other Java distributions might work but are not tested.
JAVA_HOME
environment variable#
The environment variable JAVA_HOME
needs to point to your Java 11 installation
folder.
#
Extract the tarballs- Linux
- Windows
- FreeBSD
- Any (no JVM)
#
Run QuestDBThis section lists commands to run QuestDB for different OSes. They can be used to run No JVM binaries.
- Linux
- Windows
- FreeBSD
To run the instance as a windows service (preferably as a privileged account):
To run a one-off instance in the current work directory:
The file structure is as the following:
For information about the file structure, see root directory.
#
Upgrade QuestDB versionThis section lists commands to upgrade QuestDB for different OSes. They can be used to run No JVM binaries.
note
Check the release notes and ensure that necessary backup is completed.
Steps to upgrade the QuestDB version:
- Stop the instance
- Overwrite the
bin
andlib
folders with the new files - Restart the instance
- Linux
- Windows
- FreeBSD
Overwrite bin
and lib
folders with the new files
Overwrite bin
and lib
folders with the new files
Overwrite bin
and lib
folders with the new files
#
Next stepsOnce you extracted the tarball, you are ready to use QuestDB. Navigate to our command-line options page to learn more about its usage.