{
  "id": "disk-sizing-heavy-write-scenarios",
  "title": "Disk sizing for heavy write scenarios",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/clusters/optimize/disk-sizing-heavy-write-scenarios/",
  "summary": "Sizing considerations for persistent disk space for heavy throughput databases.",
  "content": "In extreme write scenarios, when AOF is enabled, the AOF rewrite process\nmay require considerably more disk space for database persistence.\n\nTo estimate the required persistent disk space in such cases, use the\nformula described below.\n\n**The required persistent disk space for AOF rewrite purposes in extreme\nwrite scenarios, assuming identical shard sizes:**\n\n**X (1 + 3Y +Y²)**\nwhere:\n**X** = each shard size\n**Y** = number of shards\n\nFollowing are examples of database configurations and the persistence\ndisk space they would require in this scenario:\n\n|   | Example 1 | Example 2 | Example 3 | Example 4 |\n|---|------------|-----------------|------------|-----------------|\n| Database size (GB) | 10 | 10 | 40 | 40 |\n| Number of shards | 4 | 16 | 5 | 15 |\n| Shard size (GB) | 2.5 | 0.625 | 8 | 2.67 |\n| Required disk space (GB) | 73 | 191 | 328 | 723 |\n\nFor disk size requirements in standard usage scenarios, refer to the\n[Hardware\nrequirements]()\nsection.\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00"
}

