We support the following platforms:
- Mac OS X 64-bit
- Windows 64-bit
- Linux 64-bit
We support 64-bit JAVA 8 SDK and JRE
We recommend to have Java installed and
JAVA_HOME environment variable setup.
Both Windows and Linux wrappers for QuestDB will require
JAVA_HOME. OSX wrapper
will figure out the Java location automatically.
You can download QuestDB binaries and launch scripts here.
Simply extract the files in a directory of your choice. Then to run:
- On Windows, launch
- On Linux & MacOS, launch
Running on Windows
QuestDB can either be run as a program or as a service. You can start it out of the box with the default configuration, or customise parameters as you start.
Launch a new
cmd.exe window and navigate to where to where you extracted tar.gz :
cd questdb-1.0.2 questdb.exe
Start (as a service)
questdb.exe as Administrator.
When QuestDB is run as a service, the default home directory is
Simply press Ctrl+C in
When run from console QuestDB server home is
qdbroot in current directory.
Running on MacOS
Start with a different home directory:
questdb start -d $HOME/.questdb
Running on Linux
Make sure JAVA_HOME environment variable is exported and points at a valid Java8 directory
When running on Linux, QuestDB will run in the background and continue running even if you close the session.
By default QuestDB home directory will be $HOME/.questdb. You can change this location with
-d command line switch.
The launch script is
questdb.sh. The questdb.exe is a part of multi-platform package, you can ignore or delete it.
Start QuestDB as follows:
cd questdb-4.2.0/ ./questdb.sh start
Windows launches supports the following commands and options:
questdb.exe [start|stop|status|install|remove] [-d dir] [-f] [-j JAVA_HOME] [-t tag]
||Starts windows service. Default service name is
||Stops windows service|
||Shows service status. This command is useful for troubleshooting service problems. It prints RUNNING or INACTIVE if service is started or stopped respectively.|
||Installs windows service. Default name is
||Removes windows service|
||Path to Java SDK directory. By default QuestDB uses value of JAVA_HOME environment variable.|
||Path to QuestDB home directory.|
||Service name suffix tag.