Scroll to navigation

OXIGRAPH(SERVE-SECONDARY) oxigraph serve-secondary 0.4.0~alpha7 OXIGRAPH(SERVE-SECONDARY)

NAME

oxigraph serve-secondary - Start Oxigraph HTTP server in secondary mode.

SYNOPSIS

oxigraph serve-secondary [OPTIONS] --primary-location <PRIMARY_LOCATION>

DESCRIPTION

Start Oxigraph HTTP server in secondary mode.

It allows to read the database while an other process is writing it. Changes done while this process is running will be replicated after a possible lag.

Beware: RocksDB secondary mode does not support snapshots and transactions. Dirty reads might happen.

OPTIONS

--primary-location <PRIMARY_LOCATION>

Directory where the primary Oxigraph instance is writing to

--secondary-location <SECONDARY_LOCATION>

Directory to which the current secondary instance might write to.
By default, temporary storage is used.

-b, --bind <BIND>

Host and port to listen to
[default: localhost:7878]

--cors

Allows cross-origin requests

-h, --help

Print help (see a summary with '-h')
1 August 2024