# RDB Compression

> Should you keep RDB compression enabled in Redis? What does it compress, what does it cost, and when might you turn it off?

Canonical: https://www.internhack.in/learn/interview/redis-caching/redis-rdb-compression
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

Should you keep RDB compression enabled in Redis? What does it compress, what does it cost, and when might you turn it off?

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

## Concepts covered

RDB snapshot, rdbcompression, LZF, rdbchecksum, Fork and BGSAVE

Previous: [AOF Sync Options](https://www.internhack.in/learn/interview/redis-caching/redis-appendfsync-options) · Next: [Disabling Replies](https://www.internhack.in/learn/interview/redis-caching/redis-client-reply) · [All of Redis & Caching](https://www.internhack.in/learn/interview/redis-caching)

## More Redis & Caching questions

- [Data Migration](https://www.internhack.in/learn/interview/redis-caching/redis-migration-pattern)
- [Redis VM/Swap (Legacy)](https://www.internhack.in/learn/interview/redis-caching/redis-swap-files-legacy)
- [Set Math: Intersection/Union](https://www.internhack.in/learn/interview/redis-caching/redis-set-operations)
- [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)

## 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)
