Tagged articles
SCAN
24 articles · Page 1 of 1
The article explains why using the KEYS command in Redis is a blocking operation that can cripple production systems, demonstrates the safe, incremental SCAN approach, and proposes an index‑based architecture or replica scans for high‑frequency or offline key‑lookup scenarios.
IndexingKEYSRedis
0 likes · 8 min read

The article explains how to perform fuzzy queries in Redis using KEYS, SCAN, and collection‑type scans, enumerates commands that can block the single‑threaded server such as KEYS *, HGETALL, LRANGE, and provides practical mitigation strategies like incremental scans, key sharding, and asynchronous deletion.
RedisSCANblocking
0 likes · 24 min read

In Redis's single‑threaded model, commands with O(n) or higher complexity—such as KEYS, HGETALL, LRANGE, SMEMBERS, and DEL on large keys—can block the server during traffic spikes, but using incremental scans, key splitting, and async deletion can eliminate the risk and keep services responsive.
Command OptimizationDatabase PerformanceRedis
0 likes · 23 min read

This article explains why the KEYS command is unsafe for large Redis keyspaces, introduces the SCAN command and multithreaded scanning techniques, compares performance, and offers alternative counting strategies to reliably count hundreds of millions of keys.
Key CountingRedisSCAN
0 likes · 9 min read

This article explains why the KEYS * command is dangerous for large Redis deployments and presents several practical alternatives—including SCAN, multithreaded SCAN, cluster‑wide parallel scans, built‑in counters, and real‑time incremental counting—along with code samples, performance comparisons, and guidance on choosing the right solution.
ClusterKey CountingRedis
0 likes · 10 min read

This article explains why the KEYS command is dangerous for large keyspaces, introduces the SCAN command and its multithreaded variants, discusses distributed counting strategies, compares built‑in counters and real‑time incremental approaches, and provides guidance on selecting the best solution for your Redis deployment.
Key CountingMultithreadingSCAN
0 likes · 10 min read

The article explains that Redis's KEYS command scans all keys, blocks the server for seconds, can trigger failover issues, and provides faster alternatives like SCAN or storing keys in a set, while also showing how KEYS works in a Redis Cluster and its real‑world latency measurements.
ClusterKEYS commandRedis
0 likes · 5 min read


ITPUBJun 15, 2024 · Databases
This article walks through real‑world Oracle RAC failures caused by misconfigured VIP failover and SCAN IP load‑balancing, explains how to diagnose the symptoms, provides correct TAF and listener settings, and highlights essential configuration tips to ensure reliable high‑availability operation.
Database ConfigurationFailoverHigh Availability
0 likes · 9 min read

The article explains why the KEYS command can freeze a Redis instance with millions of keys, analyzes its O(n) blocking behavior, and demonstrates how the incremental SCAN command with cursor, MATCH, and COUNT parameters provides a non‑blocking alternative for retrieving prefixed keys.
BackendKEYSRedis
0 likes · 5 min read

This article explains what constitutes a Redis BigKey, why oversized keys degrade performance through data skew, network blocking, slow queries and CPU pressure, and provides practical detection methods, open‑source tooling, and mitigation techniques such as lazy‑free deletion, incremental scans, and key sharding.
BigKeyDELETERedis
0 likes · 21 min read

The article explains why using the KEYS command on a large Redis dataset can block the server, introduces the SCAN command as a non‑blocking alternative with cursor‑based iteration, and provides usage examples and best‑practice tips for safely listing prefixed keys.
CacheKEYSRedis
0 likes · 4 min read


ITPUBFeb 22, 2022 · Databases
This article explains what constitutes a Redis big key, why it harms performance, how to detect it with tools like bigkeys, redis‑rdb‑tools, and monitoring, and provides practical removal, compression, and sharding strategies to mitigate the issue.
Big KeyRedisSCAN
0 likes · 9 min read

Undermoon migrates Redis Cluster slots quickly and simply by orchestrating SCAN, DUMP, PTTL, RESTORE and DEL commands through migrating and importing proxies, balancing CPU load, handling delete‑prone keys, and achieving sub‑minute migration of 1 GB with throughput recovery.
Cluster MigrationDUMPRedis
0 likes · 7 min read

This article explains why using the KEYS command on large Redis keyspaces can crash the service and demonstrates how the SCAN command provides a non‑blocking, incremental way to iterate over massive data safely.
KEYSRedisSCAN
0 likes · 4 min read

This article explains why using the KEYS command on massive Redis datasets can cause service blockage, analyzes the underlying O(n) traversal cost, and demonstrates how the incremental SCAN command with cursor, MATCH, and COUNT options provides a non‑blocking alternative for efficiently iterating keys.
RedisSCANkey management
0 likes · 5 min read

This article explains why using Redis's KEYS command can block other operations, illustrates the underlying single‑threaded execution model, and shows how upgrading shiro‑redis to use the SCAN command avoids performance issues in distributed session management.
KEYSRedisSCAN
0 likes · 9 min read

The article explains why the KEYS command can cripple a Redis instance with millions of keys, analyzes its O(n) blocking behavior, and demonstrates how to use the incremental SCAN command with MATCH and COUNT options to safely iterate key prefixes without affecting performance.
KEYSOperationsSCAN
0 likes · 5 min read

The article explains why using the KEYS command on large Redis datasets can cause service blockage and demonstrates how the SCAN command with MATCH and COUNT options provides a non‑blocking, incremental way to list keys, including syntax and practical examples.
CursorKEYSSCAN
0 likes · 5 min read


ITPUBJul 26, 2019 · Databases
The article explains how using the KEYS command on millions of Redis keys blocks the single‑threaded server, causing outages, and demonstrates how the incremental SCAN command with cursor, MATCH, and COUNT options provides a safe, non‑blocking way to iterate large keyspaces.
InterviewKEYSRedis
0 likes · 5 min read


ITPUBJun 11, 2019 · Databases
The article explains how using the KEYS command on large Redis datasets can block the single‑threaded server and cause outages, and demonstrates how the incremental SCAN command safely retrieves keys without impacting performance, including syntax, options, and practical examples.
KEYSRedisSCAN
0 likes · 4 min read

The article explains how the Redis KEYS command can block a production server when scanning millions of keys, analyzes the root cause, and demonstrates how the incremental SCAN command provides a safe, non‑blocking alternative for large datasets.
KEYSRedisSCAN
0 likes · 4 min read

The article explains why HBase read operations are complex due to its LSM‑Tree storage and multi‑version design, details the step‑by‑step Scan workflow, discusses the reasons for its multi‑request architecture, compares scan performance with Parquet and Kudu, and offers recommendations for large‑scale data scanning.
HBaseLSM-treeSCAN
0 likes · 7 min read

The article details how Redis’s incremental rehashing can double memory usage and trigger massive key eviction and scan inconsistencies in large‑scale clusters, explains the underlying dictionary structures, demonstrates the cursor bug when tables shrink, and presents a memory‑guard and scan‑cursor patch that resolves both problems.
C++RedisRehash
0 likes · 26 min read

Heroku shares five practical Redis recommendations—including using connection pools, naming clients, selecting key eviction policies, avoiding the KEYS command, and configuring connection timeouts—to improve performance, manage resources, and simplify troubleshooting in production environments.
Client NamingRedisSCAN
0 likes · 4 min read
