Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

feat(compression): Use column compression in activity_events table. #13

Merged
merged 2 commits into from
Oct 20, 2016

Conversation

rfk
Copy link
Contributor

@rfk rfk commented Oct 20, 2016

Connects to #9; @philbooth r?

I've done this on the existing DB by copying into a new table with compression enabled, and renaming it to replace the old table.

@rfk rfk mentioned this pull request Oct 20, 2016
utm_term VARCHAR(40)
duration INTEGER NOT NULL DEFAULT 0 ENCODE lzo,
completed BOOLEAN NOT NULL DEFAULT FALSE ENCODE raw,
new_account BOOLEAN NOT NULL DEFAULT FALSE ENCODE raw,
Copy link
Contributor Author

@rfk rfk Oct 20, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's pretty hard to compress randomly-interleaved single-bit booleans, hence raw :-)

@philbooth philbooth merged commit 62142fb into master Oct 20, 2016
@philbooth philbooth deleted the compress-activity-events branch October 20, 2016 08:05
@philbooth
Copy link
Contributor

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants