Configuration And Environment
Set environment overrides in the server process environment before startup. Use Configuration for file precedence and complete YAML examples.
Startup Files
Full config search order:
./shrikedb.toml
./shrikedb.yaml
./shrikedb.yml
./config/shrikedb.toml
./config/shrikedb.yaml
./config/shrikedb.yml
~/.shrikedb/config.yaml
~/.shrikedb/config.yml
~/.shrikedb/config.toml
/etc/shrikedb/shrikedb.toml
/etc/shrikedb/shrikedb.yaml
/etc/shrikedb/shrikedb.yml
HA-only overlay search order:
./ha.yaml
./ha.yml
./ha.toml
./config/ha.yaml
./config/ha.yml
./config/ha.toml
~/.shrikedb/ha.yaml
~/.shrikedb/ha.yml
~/.shrikedb/ha.toml
/etc/shrikedb/ha.yaml
/etc/shrikedb/ha.yml
/etc/shrikedb/ha.toml
Core Environment Variables
| Variable | Purpose |
|---|---|
|
Explicit full config. |
|
Explicit HA overlay. |
|
Alternate config home. |
|
Disable interactive startup UI. |
|
Compact property-graph index mode for large graph workloads. |
|
Worker-count override for optional parallel ontology processing; evaluate memory and runtime before changing it. |
Semantic Query Environment Variables
| Variable | Purpose |
|---|---|
|
Enable or disable the semantic query compiler runtime. |
|
Enable or disable |
|
Enable or disable |
|
Maximum semantic result limit accepted by the compiler. |
|
Maximum estimated semantic plan operations before cost-guard rejection. |
|
Maximum ontology expansion depth accepted by semantic intent clauses. |
|
Default semantic compile/execute timeout budget in milliseconds. |
HA Environment Variables
| Variable | Purpose |
|---|---|
|
Enable HA mode. |
|
Cluster name. |
|
This node’s ID. |
|
Shared node token. |
|
Advertised gRPC address. |
|
Advertised HTTP address. |
|
Advertised admin address. |
|
Peer list. |
|
Replication factor. |
|
Shard count. |
|
Write consistency mode. |
|
Read consistency mode. |
|
Replication mode, such as |
|
Forward writes to primary when contacted node is not primary. |
|
Proxy covered reads to replica nodes. |
|
Enable distributed query execution for covered shapes. |
|
Enable dynamic membership control. |
|
Consensus heartbeat interval. |
|
Election timeout. |
|
Repair tick interval. |
|
Repair batch size. |
|
Completed repair payload tombstone retention. |
|
Peer connection timeout. |
|
Peer request timeout. |
|
Concurrent peer replication fanout per write. |
|
Durable repair queue directory. |
|
Durable repair payload directory. |
|
Operation ledger directory. |
|
Operation replay payload directory. |
|
Consensus journal directory. |
|
Transaction commit ledger directory. |
Cypher Execution Controls
Configure these on the server process before issuing queries. A higher resource cap permits more work; it does not enable unsupported syntax or relax semantic checks.
| Variable | Default | Purpose |
|---|---|---|
|
|
|
|
|
|
|
10,000 |
Path result bound, capped at 100,000 by the planner. |
|
100,000 |
Candidate-state bound, capped at 1,000,000 by the planner. |
|
100,000 |
Unwind expansion bound, capped at 1,000,000 by the planner. |
|
10,000 |
Read-only subquery rows per input, capped at 100,000. |
|
10,000 |
Nested branch-expression output bound, capped at 100,000. |
See Cypher Writes And Schema for write/catalog limits and Cypher And openCypher Compatibility for bounded read behavior. Experimental optimizer and forced-candidate controls belong to benchmark/shadow workflows; they are not required to use the supported language features.