EdgeDB exposes a number of configuration parameters that affect its behavior. In this section we review the ways to change the server configuration, as well as detail each available configuration parameter.
The configure
command can be used to set the
configuration parameters using EdgeQL. For example:
edgedb>
configure instance set listen_addresses := {'127.0.0.1', '::1'};
CONFIGURE: OK
The edgedb configure command allows modifying the system configuration from a terminal:
$
edgedb configure set listen_addresses 127.0.0.1 ::1
Below is an overview of available settings. a full reference of settings is available at Standard Library > Config.
The TCP/IP address(es) on which the server is to listen for connections from client applications.
The TCP port the server listens on; defaults to 5656
.
The number of concurrent disk I/O operations that can be executed simultaneously.
The amount of memory used by internal query operations such as sorting.
The amount of memory used for shared memory buffers.
The default data statistics target for the planner.
An estimate of the effective size of the disk cache available to a single query.
How long client connections can stay inactive before being closed by the
server. Defaults to 60 seconds; set to <duration>'0'
to disable the
mechanism.
How long client connections can stay inactive
while in a transaction. Defaults to 10 seconds; set to <duration>'0'
to
disable the mechanism.
How long an individual query can run before being aborted. A value of
<duration>'0'
disables the mechanism; it is disabled by default.