-
Notifications
You must be signed in to change notification settings - Fork 715
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
Add different compression choice #1310
base: fb-mysql-8.0.28
Are you sure you want to change the base?
Add different compression choice #1310
Conversation
Need to fix test. |
f2fbd59
to
30300c7
Compare
@sunshine-Chun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
30300c7
to
e6bc11e
Compare
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing. |
@sunshine-Chun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
e6bc11e
to
05a9ffa
Compare
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing. |
05a9ffa
to
0c725aa
Compare
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Looks like we have memory leakage from valgrind test. Need to debug a bit. Will update here once find anything.
|
0c725aa
to
13690e4
Compare
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing. |
@sunshine-Chun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Memory leakage fixed. |
13690e4
to
a394a4f
Compare
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing. |
@sunshine-Chun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with minor comment formatting issue fixed
@@ -539,6 +545,13 @@ DEFINE_METHOD(int, mysql_clone_get_response, | |||
*net_length = 0; | |||
*length = my_net_read(net); | |||
|
|||
/** The ZSTD object has been updated to include the newly created decompressor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a Doxygen comment:
/** The ZSTD object has been updated to include the newly created decompressor | |
/* The ZSTD object has been updated to include the newly created decompressor |
@@ -539,6 +545,13 @@ DEFINE_METHOD(int, mysql_clone_get_response, | |||
*net_length = 0; | |||
*length = my_net_read(net); | |||
|
|||
/** The ZSTD object has been updated to include the newly created decompressor | |||
* context. Include the change in the net extension so that the resource can |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and the next line: the comment style with leading stars is not used in MySQL:
* context. Include the change in the net extension so that the resource can | |
context. Include the change in the net extension so that the resource can |
a394a4f
to
abc04b7
Compare
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing. |
abc04b7
to
6d5db1f
Compare
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing. |
@sunshine-Chun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
6d5db1f
to
b79ea9f
Compare
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing. |
Summary: when using clone to copy data in innodb instance and turn compression on. The speed is about 10 times slower than with compression off. The default compression algorithm used is zlib. Try to use other compression algorithm to tune the performance. From testing, zstd is twice faster than zlib
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags: