# Redis VM/Swap (Legacy)

> Did Redis ever support keeping part of its dataset on disk when it did not fit in RAM? What happened to that feature, and what are the options today?

Canonical: https://www.internhack.in/learn/interview/redis-caching/redis-swap-files-legacy
Last updated: 2026-11-28

Difficulty: Advanced

## Question

Did Redis ever support keeping part of its dataset on disk when it did not fit in RAM? What happened to that feature, and what are the options today?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

Redis Virtual Memory, In-memory design, OS swap, Tiered storage, Persistence vs storage

Previous: [Data Migration](https://www.internhack.in/learn/interview/redis-caching/redis-migration-pattern) · Next: [Set Math: Intersection/Union](https://www.internhack.in/learn/interview/redis-caching/redis-set-operations) · [All of Redis & Caching](https://www.internhack.in/learn/interview/redis-caching)

## More Redis & Caching questions

- [Popping from Sorted Sets](https://www.internhack.in/learn/interview/redis-caching/redis-zpopmin-max)
- [LRU Accuracy](https://www.internhack.in/learn/interview/redis-caching/redis-max-memory-samples)
- [Core Data Types](https://www.internhack.in/learn/interview/redis-caching/redis-data-types)
- [Caching Strategies](https://www.internhack.in/learn/interview/redis-caching/redis-caching-strategies)
- [Eviction Policies](https://www.internhack.in/learn/interview/redis-caching/redis-eviction-policies)
- [Persistence: RDB vs. AOF](https://www.internhack.in/learn/interview/redis-caching/redis-persistence-rdb-aof)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Redis & Caching](https://www.internhack.in/learn/interview/redis-caching)
