SpiceDB Documentation
Concepts
Memdb

memdb

Usage Notes

  • Fully ephemeral; all data is lost when the process is terminated
  • Intended for usage with SpiceDB itself and testing application integrations
  • Cannot be ran highly-available as multiple instances will not share the same in-memory data

If you need an ephemeral datastore designed for validation or testing, see the test server system in Validating and Testing

Developer Notes

Configuration

Required Parameters

ParameterDescriptionExample
datastore-enginethe datastore engine--datastore-engine memory

Optional Parameters

ParameterDescriptionExample
datastore-revision-fuzzing-durationSets a fuzzing window on all zookies/zedtokens--datastore-revision-fuzzing-duration=50ms
datastore-gc-windowSets the window outside of which overwritten relationships are no longer accessible--datastore-gc-window=1s
datastore-readonlyPlaces the datastore into readonly mode--datastore-readonly=true
© 2025 AuthZed.