Keep busy data on fast, costly storage and old data on slow, cheap storage.
Storage tiers sort your data by how often it is used. Hot data is used all the time and sits on fast, expensive storage. Warm data is used sometimes. Cold data is rarely touched and sits on very cheap, slow storage.
Storage comes in a range of speeds and prices. Memory and fast SSDs answer in microseconds but cost the most per gigabyte. Hard disks and standard object storage are slower and cheaper. Archive storage (cold object-storage classes, and tape at the extreme) is the cheapest of all, but retrieving data can take minutes or hours and may cost extra.
Data also has a life. A photo uploaded today is viewed a lot. A year later it is viewed rarely. A tiering plan matches the data to storage that fits how often it is used now, instead of paying the top price for everything forever.
| Tier | Typical media | Access | Cost to keep | Cost to read |
|---|---|---|---|---|
| Hot | Memory, NVMe, SSD | Microseconds to milliseconds | Highest | Low or none |
| Warm | HDD, standard object storage | Milliseconds | Medium | Low |
| Cold | Infrequent-access object classes | Milliseconds to seconds, sometimes longer | Low | A fee per read, and often a minimum storage time |
| Archive | Deep archive classes, tape | Minutes to hours | Lowest | A higher fee, plus a wait |
The prices here are made up round numbers for teaching ($120, $30 and $4 per TB per month for hot, warm and cold, plus a fee per GB read). They are NOT a real price list, and real providers also charge for requests, minimum storage time and transfer. The data by age and how often each age is read are fixed numbers in the code (no random values).
| Term | Meaning in easy words |
|---|---|
| Hot data | Data used often, kept on fast storage |
| Warm data | Data used now and then, kept on moderate storage |
| Cold data | Data rarely used, kept on cheap, slower storage |
| Archive tier | The cheapest storage, with slow, sometimes delayed, retrieval |
| Lifecycle policy | A rule that moves or deletes data by age |
| Intelligent tiering | Automatic movement based on how each object is actually accessed |
| Retrieval fee | A charge per amount of data read from a cold tier |
| Minimum storage duration | A period you are billed for, even if you delete the data sooner |
| Access pattern | How often, and how recently, data is read |
| Rehydration / restore | Making archived data readable again, which can take time |
| Storage class | A named tier in an object store, with its own price and speed |
| Choice | We gain | We lose |
|---|---|---|
| Move to cold early | Lower storage bill | More risk of slow or costly reads |
| Move to cold late | Safer, fast reads | A higher bill for longer |
| Age-based rules | Simple and predictable | Ignores real usage, so some busy data may go cold |
| Access-based tiering | Follows actual usage | A monitoring fee, and less predictable cost |
| Keep everything hot | Fastest, simplest | The highest cost, growing with data |
| Archive tier | The cheapest storage | Retrieval can take hours and costs the most |