Skip to content

Rate this page
Thanks for your feedback
Thank you! The feedback has been submitted.

Get enterprise-grade support and services for OpenEverest from certified partners, or join community.

Pause and resume databases

Pausing a database stops all engine and proxy pods while preserving everything else: storage volumes, credentials, configuration, and backup metadata. The cluster can be fully resumed at any time.

Note

The OpenEverest UI labels this action Suspend. The API and CRD use the term paused. They refer to the same feature.

Use cases

  • Development and test environments — shut down non-production clusters overnight or over weekends to free up compute resources
  • Batch-driven workloads — keep a database offline between scheduled batch jobs and bring it up only when the process runs
  • Cost optimization — reduce infrastructure costs for databases that are used infrequently without losing data or configuration

Before you pause

Warning

  • All active connections to the database are dropped immediately when pausing.
  • Scheduled backups do not run while the cluster is paused.
  • PITR log archiving is suspended for the duration of the pause. WAL segments are preserved on existing storage but no new segments are archived until the cluster resumes.
  • Storage volumes are retained and continue to incur storage costs.

Pause a database

  1. From the OpenEverest homepage, locate the database you want to pause.
  2. Click the ellipsis menu () next to the database name.
  3. Select Suspend.

The database status changes to Paused. All engine and proxy pods are stopped.

Send a PATCH request to the updateDatabaseCluster endpoint and set paused to true:

{
  "spec": {
    "paused": true
  }
}

Set spec.paused to true in the DatabaseCluster manifest and apply it:

apiVersion: everest.percona.com/v1alpha1
kind: DatabaseCluster
metadata:
  name: my-database-cluster
spec:
  paused: true
kubectl apply -f my-database-cluster.yaml

Resume a database

  1. From the OpenEverest homepage, locate the paused database.
  2. Click Resume in the database row, or open the ellipsis menu () and select Resume.

The database status transitions from Paused back to Ready once all pods are running.

Send a PATCH request to the updateDatabaseCluster endpoint and set paused to false:

{
  "spec": {
    "paused": false
  }
}

Set spec.paused to false (or remove the field) and apply:

apiVersion: everest.percona.com/v1alpha1
kind: DatabaseCluster
metadata:
  name: my-database-cluster
spec:
  paused: false
kubectl apply -f my-database-cluster.yaml

Monitor pause status

To check the current status of your database cluster:

kubectl get databasecluster <cluster-name> -o jsonpath='{.status.state}'

While paused, the status field returns paused. Once resumed and fully operational, it returns ready.

For the full list of possible status values, see Status monitoring.

See also