Redis数据库分析方法、装置、电子设备及存储介质

By constructing a prefix tree and using feature expressions to match key information in Redis's RDB and CSV files, the problem of low efficiency and high complexity in existing Redis analysis technologies is solved, achieving efficient memory usage trend analysis.

CN116578562BActive Publication Date: 2026-07-17BEIJING LEWO INFINITE TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING LEWO INFINITE TECH CO LTD
Filing Date
2023-05-05
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing technologies are inefficient and complex when analyzing Redis databases, affecting real-time performance and failing to effectively track and predict memory usage trends.

Method used

By constructing a prefix tree, we can match the key information in the Redis RDB and CSV files using feature expressions, thereby reducing analysis complexity and improving efficiency. The leaf nodes of the prefix tree are used to accumulate statistical results.

Benefits of technology

It improves the efficiency of Redis analysis, reduces complexity, shortens runtime, reduces the impact on real-time performance, and can effectively statistically analyze and predict memory usage trends.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116578562B_ABST
    Figure CN116578562B_ABST
Patent Text Reader

Abstract

本发明实施例提供了一种Redis数据库分析方法、装置、电子设备及存储介质,涉及数据库技术领域,包括:获得Redis的rdb文件所对应的csv文件;根据多个特征表达式构建前缀树;利用csv文件中每行的key,将key与前缀树进行匹配,得到每一行分别对应的前缀树叶子节点,每一前缀树叶子节点对应一个特征表达式;针对每一前缀树叶子节点,统计与前缀树叶子节点对应的所有行所对应的key信息,并将统计结果作为前缀树叶子节点对应的特征表达式的统计结果。通过本发明实施例提供的Redis数据库分析方法、装置、电子设备及存储介质提高对Redis分析的效率。
Need to check novelty before this filing date? Find Prior Art