Scan operation is displaying in slowlog of Redis

Created on 9 August 2020, over 4 years ago
Updated 22 June 2023, over 1 year ago

Scan operation is executing more often, taking more time and end up displaying in Slowlog of Redis

Connect Drupal application with Redis server

7/6/2020 4:26:29 PM 12.57 SCAN 0 COUNT 10000 MATCH drupal.redis.8.8.5..b26e925f981b7b07fbd687b9e0cc97379bb44d951af64e9092c26c5cadd14a4c*

What is the purpose of Scan operation (scan($match, $count = 10000) in ReportController.php)?
What's the interval to run the scan operation and is it recommended to change the scan interval?
Most importantly, is it recommended to change the $count from 10000 to a less number (ex: 500)?

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Version

1.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States s.thiru.raju

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡·Greece PanosAx

    Our patch resolves a critical issue in Redis log page, previously broken when dealing with large Redis datasets. By adjusting the scan value from 10,000 to 1,000, the patch optimizes log retrieval, ensuring faster load times and improved usability.

Production build 0.71.5 2024