Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

发现1.06版本的性能比现在要好的多 #42

Open
wellslai opened this issue Aug 29, 2024 · 0 comments
Open

发现1.06版本的性能比现在要好的多 #42

wellslai opened this issue Aug 29, 2024 · 0 comments

Comments

@wellslai
Copy link

wellslai commented Aug 29, 2024

应该是在两年前我的服务器上有一个1.06版本的rdb,然后我今天下了个最新版的rdb 然后分析统一个文件,这个rdb文件内部有一个10G以上的大key,但是性能差异非常明显,1.06版本大概只需要1分20秒左右,最新版的需要2分钟 下面是我的测试结果

--------------1.06版本的测试记录--------------

[root@GZSZL_C13_7_db-17-62 data]# date &&/root/rdb-linux -c memory -o test.csv dump.rdb && date
Thu Aug 29 14:33:35 CST 2024
Thu Aug 29 14:34:41 CST 2024
[root@GZSZL_C13_7_db-17-62 data]# /root/rdb-linux --help
Usage of /root/rdb-linux:
-c string
command for rdb: json
-n int

-no-expired
filter expired keys
-o string
output file path
-port int
listen port for web
-regex string
regex expression
-sep value
separator for flame graph
[root@GZSZL_C13_7_db-17-62 data]# md5sum /root/rdb-linux
a214208a8c578e572cd14dd251737135 /root/rdb-linux

----------最新版的测试记录----------------------------

[root@GZSZL_C13_7_db-17-62 data]# date &&/root/rdb -c memory -o test.csv dump.rdb && date
Thu Aug 29 14:35:18 CST 2024
Thu Aug 29 14:37:17 CST 2024
[root@GZSZL_C13_7_db-17-62 data]# md5sum /root/rdb
36722fe308c776b2b844e7dce0011f2b /root/rdb

@wellslai wellslai changed the title 发现1.6版本的性能比现在要好的多 发现1.06版本的性能比现在要好的多 Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant