f41gh7
5a50df3f61
lib/storage: increase rotation time for daily metricID cache
...
This is follow-up for c5713a09d3
Originally, dateMetricID cache was fully rotate every 20 minutes. It
made daily-index pre-creation less efficient and caused CPU usage spikes
for index records lookup at midnight.
storage pre-fills index records for the next day in 1 hour before night.
But this rotation made only last 20 minutes before midnight visible in
the cache.
This commit changes rotation period from 20 minutes to 2 hours ( 1 hour
tick interval). While
it could slighlty increase cache memory usage ( in practice it shouldn't
be noticeable). It prevents from CPU usage spikes.
Fixes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/10064
2026-01-16 16:18:31 +01:00
..
2025-12-23 17:27:59 +01:00
2025-12-10 01:19:06 +01:00
2021-03-02 20:48:44 +02:00
2025-03-17 16:38:11 +01:00
2025-09-24 15:39:00 +02:00
2023-09-01 10:25:49 +02:00
2023-04-14 15:47:20 -07:00
2025-07-28 13:44:50 +02:00
2025-06-05 12:30:50 +02:00
2025-07-28 13:44:50 +02:00
2023-10-26 09:44:40 +02:00
2025-06-05 11:40:45 +02:00
2025-12-17 15:45:08 +01:00
2026-01-16 16:18:31 +01:00
2026-01-16 09:28:28 +02:00
2024-12-18 22:38:36 +01:00
2026-01-16 09:28:28 +02:00
2025-12-24 19:13:49 +01:00
2025-12-24 19:13:49 +01:00
2025-12-30 13:32:34 +01:00
2026-01-16 14:02:10 +01:00
2025-12-24 19:13:49 +01:00
2026-01-16 14:02:10 +01:00
2023-04-14 15:47:20 -07:00
2023-01-23 20:12:32 -08:00
2025-07-27 18:32:02 +02:00
2025-09-24 15:39:00 +02:00
2025-09-24 15:39:00 +02:00
2025-09-24 15:39:00 +02:00
2025-03-17 16:38:11 +01:00
2022-08-22 00:16:04 +03:00
2025-12-17 14:05:56 +01:00
2025-12-17 14:05:56 +01:00
2025-12-17 14:05:56 +01:00
2025-12-17 14:05:56 +01:00
2025-12-24 19:13:49 +01:00
2025-08-18 22:55:53 +02:00
2025-08-18 22:55:53 +02:00
2025-03-03 10:28:07 +01:00
2023-04-14 15:47:20 -07:00
2023-10-26 09:44:40 +02:00
2025-07-18 10:48:19 +02:00
2025-07-28 13:44:50 +02:00
2025-12-24 19:13:49 +01:00
2025-12-24 19:13:49 +01:00
2025-12-24 19:13:49 +01:00
2025-12-24 19:13:49 +01:00
2019-05-23 00:18:06 +03:00
2025-06-05 12:30:50 +02:00
2025-12-24 19:13:49 +01:00
2025-12-24 19:13:49 +01:00
2025-09-22 15:22:22 +02:00
2025-12-24 19:13:49 +01:00
2025-12-30 13:32:34 +01:00
2025-12-30 13:32:34 +01:00
2026-01-16 16:18:31 +01:00
2025-12-30 13:32:34 +01:00
2025-12-24 19:13:49 +01:00
2025-12-30 13:32:34 +01:00
2025-07-25 19:58:29 +02:00
2025-07-25 19:58:29 +02:00
2025-12-24 19:13:49 +01:00
2025-12-24 19:13:49 +01:00
2025-07-25 19:58:29 +02:00
2025-12-24 19:13:49 +01:00
2025-06-30 17:50:54 +02:00
2024-04-03 03:00:45 +03:00
2025-11-26 11:40:24 +01:00
2025-12-12 11:01:31 +01:00
2025-12-12 11:01:31 +01:00
2025-08-13 07:42:57 +02:00
2025-08-13 07:42:57 +02:00