14 questions for “Hashes in Redis”

Found in 1 field. Select a question to see its full answer.

Information Technology

14 questions in 1 technology

#QuestionTechnologyTopicLevel
1How does the internal listpack encoding for small hashes affect memory usage, and at what point does Redis switch to a different, less compact encoding? Redis › Hashes in RedisRedisHashes in RedisAdvanced
2How do you atomically increment a numeric field within a Redis hash? Redis › Hashes in RedisRedisHashes in RedisIntermediate
3How do you retrieve a single field or all fields from a Redis hash? Redis › Hashes in RedisRedisHashes in RedisBeginner
4How do you retrieve only the field names or only the values from a Redis hash, without needing both together? Redis › Hashes in RedisRedisHashes in RedisIntermediate
5How would you decide between storing an object as a single JSON string versus as a native Redis hash, considering both memory usage and access patterns? Redis › Hashes in RedisRedisHashes in RedisAdvanced
6What is a Redis hash, and how do you create one to store a simple object with multiple fields? Redis › Hashes in RedisRedisHashes in RedisBeginner
7How do you check if a specific field exists within a hash, and how do you delete just one field without affecting the rest of the hash? Redis › Hashes in RedisRedisHashes in RedisIntermediate
8What is RedisJSON, and how does it improve working with JSON data compared to storing it as a plain string? Redis › RedisJSONRedisRedisJSONBeginner
9How do you create a search index in RedisSearch, and what does defining a schema for that index actually do? Redis › RedisSearch (Full Text Search)RedisRedisSearch (Full Text Search)Beginner
10How do you use shorter key names and more compact data structures to meaningfully reduce Redis's overall memory footprint? Redis › Redis Memory OptimizationRedisRedis Memory OptimizationIntermediate