Root directory structure
QuestDB creates the following file structure in its root_directory
:
questdb
├── conf
├── db
├── log
├── public
└── snapshot (optional)
By default, QuestDB's root directory will be the following:
- Linux
- macOS (Homebrew)
- Windows
$HOME/.questdb
Path on Macs with Apple Silicon (M1 or M2) chip:
/opt/homebrew/var/questdb
Path on Macs with Intel chip:
/usr/local/var/questdb
C:\Windows\System32\qdbroot
conf
directory
Contains configuration files for QuestDB:
├── conf
│ ├── date.formats
│ ├── mime.types
│ └── server.conf
file | description |
---|---|
date.formats | A list of date formats in plain text. |
mime.types | Mapping file used by the HTTP server to map file extension to response type when an user downloads a file. |
server.conf | Server configuration file. Find out more in the server configuration section. |
db
directory
This directory contains all the files related to database tables. It is organised as follows:
- Each table has its own
table_directory
underroot_directory/db/table_name
- Within a
table_directory
, each partition has its ownpartition_directory
. - Within each
partition directory
, each column has its owncolumn_file
, for examplemycolumn.d
- If a given column has an index, then there will also
be an
index_file
, for examplemycolumn.k
The table also stores metadata in _meta
files:
├── db
│ ├── Table
│ │ │