AI agents: use the documentation index at llms.txt to locate machine-readable pages. This section is indexed by https://docs.particular.net/servicecontrol/llms.txt. The markdown version of this page is served as plain text. An MCP server at /mcp serves the same content via the search_docs and read_doc tools; it is read-only and needs no credentials. Markdown versions of documentation pages are available by appending .md to the page URL. Directory URLs use index.md. They are served as text/plain because some retrieval backends reject text/markdown.

Migrating from RavenDB to SQL storage

Component: ServiceControl

SQL Server and PostgreSQL storage are available from ServiceControl 7. Upgrading an existing instance to version 7 doesn't change its storage: it continues to use RavenDB with its existing data. How to move to SQL storage depends on the instance type:

InstanceHow to move to SQL storage
Audit instanceReplace it with a new Audit instance that uses SQL storage. No data migration is needed.
Error instanceComing soon, keep using RavenDB until then.

Audit instances

Audit data isn't migrated. Audit instances delete audit messages when the audit retention period ends, so instead of moving the data, replace the RavenDB Audit instance with a new Audit instance that uses SQL storage, and let the data in the old instance expire:

  1. Upgrade the Error instance and the existing Audit instances to ServiceControl 7. See Upgrade ServiceControl from version 6 to version 7.
  2. Create a new Audit instance that uses SQL Server or PostgreSQL storage, and add it to the remote instances of the Error instance.
  3. Disable audit queue ingestion on the old Audit instance. The old instance stops storing new audit messages, stays available for queries, and continues to delete audit messages when the retention period ends.
  4. When the old Audit instance is empty, after the audit retention period, decommission it.

Until the old instance is decommissioned, the Error instance queries both Audit instances, so ServicePulse shows audit messages from both.

Replacing an Audit instance describes each step for ServiceControl Management, PowerShell, and containers, including how to check that the old instance is empty.

Error instances

Migration of Error instances from RavenDB to SQL Server or PostgreSQL storage is coming soon. It is not yet available.

Until then, keep Error instances on RavenDB. An Error instance that uses RavenDB can use Audit instances that use SQL storage, so Audit instances can be moved to SQL storage now.