The configuration of a Kùzu database or a connection to the database can be changed through a standalone CALL
statement, described in this section. Different from the CALL clause, this statement of changing
configuration cannot be used with other query clauses, such as RETURN.
Connection configuration
Option
Description
Default
THREADS
number of threads used by execution
system maximum threads
TIMEOUT
timeout of query execution in ms
N/A
VAR_LENGTH_EXTEND_MAX_DEPTH
maximum depth of recursive extend
30
ENABLE_SEMI_MASK
enables the semi mask optimization
true
HOME_DIRECTORY
system home directory
user home directory
FILE_SEARCH_PATH
file search path
N/A
PROGRESS_BAR
enable progress bar in CLI
false
PROGRESS_BAR_TIME
show progress bar after time in ms
1000
CHECKPOINT_THRESHOLD
the WAL size threshold in bytes at which to automatically trigger a checkpoint
16777216 (16MB)
WARNING_LIMIT
maximum number of warnings that can be stored in a single connection.
8192
SPILL_TO_DISK
spill data disk if there is not enough memory when running `COPY FROM (cannot be set to TRUE under in-memory or read-only mode)
true
Database configuration
Option
Description
Default
CHECKPOINT_THRESHOLD
the WAL size threshold at which to automatically trigger a checkpoint