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

Mysql table compression support? #1

Closed
imreACTmd opened this issue Sep 22, 2014 · 3 comments
Closed

Mysql table compression support? #1

imreACTmd opened this issue Sep 22, 2014 · 3 comments

Comments

@imreACTmd
Copy link

From 5.5 InnoDB has table compression support. In 5.6.7 Facebook significantly improved this support.
http://dev.mysql.com/doc/refman/5.5/en/innodb-compression.html

Compression is transparent, it requires two general settings for the server and and one additional setting for each table at creation.

Is anyone interested in this? Should I send in a patch with a separate schema.sql for compressed tables?

@mcholste
Copy link
Owner

Interesting, I hadn't seen that. It would be relatively easy to get a great
comparison by taking one of the existing tables, do SHOW CREATE TABLE,
alter it to be InnoDB and ROW_FORMAT=COMPRESSED, create the table, then do
SELECT * FROM source INTO new (or however you want to do it), then compare
the differences in INFORMATION_SCHEMA.TABLES to see the savings.
Performance will almost certainly not be a factor because all writes are
batched, and reads are usually infrequent.

On Mon, Sep 22, 2014 at 9:18 AM, imreACTmd notifications@github.com wrote:

From 5.5 InnoDB has table compression support. In 5.6.7 Facebook
significantly improved this support.
http://dev.mysql.com/doc/refman/5.5/en/innodb-compression.html

Compression is transparent, it requires two general settings for the
server and and one additional setting for each table at creation.

Is anyone interested in this? Should I send in a patch with a separate
schema.sql for compressed tables?


Reply to this email directly or view it on GitHub
#1.

@mcholste
Copy link
Owner

Would you care to do any tests with this and report the results? Otherwise, I will close this for now.

@imreACTmd
Copy link
Author

I don't have time for it, sorry :(

mcholste pushed a commit that referenced this issue Apr 17, 2015
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

2 participants