Data Storage

Event store vs. metadata store

Seq internally uses two distinct storage subsystems:

  • The metadata store, usually shortened to metastore, contains configuration data such as users, signals, dashboards, and so on
  • The event store contains the application log data that is searchable in the Seq UI.

The two storage subsystems use different technologies.

The Metastore

Seq's metastore is a document-oriented data layer that supports various backing storage technologies:

  • Microsoft SQL Server
  • PostgreSQL
  • Embedded ESENT (the default on Windows platforms)
  • Embedded LMDB (the default on X64 Docker/Linux)
  • Embedded native metastore (the default on ARM64 Docker/Linux)

The embedded metastores (ESENT, LMDB, and Seq's own native store) persist data in the Documents/ subfolder under Seq's local storage root.

Data in the metastore is included in Seq's automatic nightly backups.

The Event Store

Seq relies heavily on the functionality of its own internal event store for log storage and querying. The event store is built by Datalust in the Rust programming language, specifically for Seq.

The event store persists data in the Stream/ directory under Seq's local storage root.

You can learn more about the design of Seq's event store on the Seq blog.

Did this page help you?