当前位置:网站首页>Record a redis large key troubleshooting
Record a redis large key troubleshooting
2022-06-26 20:53:00 【Yi Yi】
Tools
It uses GitHub Open source script for :https://github.com/weiyanwei412/rdb_bigkeys
Use
- download go Language installation package
wget https://go.dev/dl/go1.17.5.linux-amd64.tar.gz
- Unzip the installation package
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.17.5.linux-amd64.tar.gz
- Import environment variables
export PATH=$PATH:/usr/local/go/bin
- verification go Environment configured successfully
go version
- Download the script source
git clone [email protected]:weiyanwei412/rdb_bigkeys.git
- Enter directory initialization go Language project
- go mod init redisBigKeys
- Pull related dependencies
- go get
- Build executable script
go build, Generate executable file after execution :rdbBigKeys - analysis Redis RDB file
./rdbBigKeys --bytes 1024 --file bigkeys.csv --sep 0 --sorted --threads 4 /var/lib/redis/6379/dump.rdb
- Generate CSV file

边栏推荐
- 2022/02/14 line generation
- The postgraduate entrance examination in these areas is crazy! Which area has the largest number of candidates?
- 动态规划111
- [recommended collection] these 8 common missing value filling skills must be mastered
- Unity - URP get camera stack
- How to install mysql8.0 database under Windows system? (Graphic tutorial)
- What are the specific steps for opening a stock account? Is it safe to open an account online?
- 515. find the maximum value in each tree row
- Gamefi active users, transaction volume, financing amount and new projects continue to decline. Can axie and stepn get rid of the death spiral? Where is the chain tour?
- Keep alive cache component in Vue
猜你喜欢

leetcode刷题:字符串05(剑指 Offer 58 - II. 左旋转字符串)
![[Bayesian classification 2] naive Bayesian classifier](/img/44/dbff297e536508a7c18b76b21db90a.png)
[Bayesian classification 2] naive Bayesian classifier

阿里云个人镜像仓库日常基本使用

Arduino uno + DS1302 uses 31 byte static RAM to store data and print through serial port

The source code that everyone can understand (I) the overall architecture of ahooks

Distributed ID generation system

Introduction to single chip microcomputer one-on-one learning strategy, independent development program immediately after reading

Idea error: process terminated

Gee: calculate the maximum and minimum values of pixels in the image area

慕课8、服务容错-Sentinel
随机推荐
[Bayesian classification 2] naive Bayesian classifier
好物推荐:移动端开发安全工具
Guomingyu: Apple's AR / MR head mounted display is the most complicated product in its history and will be released in January 2023
Introduction to single chip microcomputer one-on-one learning strategy, independent development program immediately after reading
MySQL - table creation and management
[serialization] how to master the core technology of opengauss database? Secret 5: master database security (6)
0 basic C language (3)
分布式ID生成系统
SentinelResource注解详解
案例描述:比赛分数管理系统,需要统计历届冠军所得比赛得分,并记录到文件中,其中系统有如下需求:- 打开系统有欢迎界面,并显示可选择的选项- 选项1:记录比赛得分- 选项2:查看往届
【贝叶斯分类3】半朴素贝叶斯分类器
Establish a connection with MySQL
Comment installer la base de données MySQL 8.0 sous Windows? (tutoriel graphique)
[Shandong University] information sharing for the first and second examinations of postgraduate entrance examination
【山东大学】考研初试复试资料分享
Tiktok practice ~ sharing module ~ copy short video link
[Bayesian classification 3] semi naive Bayesian classifier
BOM and DOM operations
大家都能看得懂的源码(一)ahooks 整体架构篇
基于QT实现简单的连连看小游戏