{
  "id": "storage-engine",
  "title": "Manage Auto Tiering storage engine",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/databases/auto-tiering/storage-engine/",
  "summary": "Manage the storage engine used for your database with auto tiering enabled.",
  "content": "\n## Manage the storage engine\n\nRedis Enterprise Auto Tiering supports two storage engines:\n\n- Speedb: Redis proprietary storage engine. The default and recommended storage engine as of Redis Enterprise Software version 7.2.4.\n\n- [RocksDB](https://rocksdb.org/): Used up to Redis version 6.2. Deprecated for later Redis versions.\n\nSwitching between storage engines requires guidance by Redis Support or your Account Manager.\n\n### Change the storage engine\n\n1. Change the cluster level configuration for default storage engine.\n\n  * API:\n\n      ``` sh\n      curl -k -u \u003cusername\u003e:\u003cpassword\u003e -X PUT -H \"Content-Type: application/json\" -d '{\"bigstore_driver\":\"speedb\"}' https://localhost:9443/v1/cluster\n     ```\n\n  * CLI:\n\n      ```sh\n      rladmin cluster config bigstore_driver {speedb | rocksdb}\n      ```\n\n2. Restart the each database on the cluster one by one.\n\n     ```sh\n     rladmin restart db { db:\u003cid\u003e | \u003cname\u003e }\n     ```\n\n We recommend restarting your database at times with low usage and avoiding peak hours. For databases without persistence enabled, we also recommend using export to backup your database first.\n\n## Monitor the storage engine\n\nTo get the current cluster level default storage engine run:\n\n* Use the `rladmin info cluster` command look for ‘bigstore_driver’.\n\n* Use the REST API:\n\n     ```sh\n     curl -k -u \u003cusername\u003e:\u003cpassword\u003e -X GET -H \"Content-Type: application/json\" https://localhost:9443/v1/cluster\n     ```\n\nVersions of Redis Enterprise 7.2 and later provide a metric called `bdb_bigstore_shard_count` to help track the shard count per database, filtered by `bdb_id` and by storage engine as shown below:\n\n\n  ```sh\n  bdb_bigstore_shard_count{bdb=\"1\",cluster=\"mycluster.local\",driver=\"rocksdb\"} 1.0\n  bdb_bigstore_shard_count{bdb=\"1\",cluster=\"mycluster.local\",driver=\"speedb\"} 2.0\n  ```\n\nFor more about metrics for Redis Enterprise’s integration with Prometheus, see [Prometheus integration]().\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "0001-01-01T00:00:00Z"
}

