We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is compression feature in Tarantool EE version. Such feature works per fields. The motivation is to show this possibility for User.
Make a separated lua module
Make a lua function which mayBeCompressed(space name, field name) -> float
space name
field name
float
Select random 10000 tuples from space
Make a temporary space with the same format as space name
Insert random 10000 tuples into temporary space
Compare original space bsize and temporary space bsize
Return compression ratio
Make a iteration over spaces
Choose only string fields
Filter fields, choose only fields which is not in indexes
Make a list with result [{name: aaa field:}, {}]
Handle cases:
The text was updated successfully, but these errors were encountered:
panticonur
Successfully merging a pull request may close this issue.
Motivation
There is compression feature in Tarantool EE version. Such feature works per fields. The motivation is to show this possibility for User.
(OBSOLETE, see notion https://www.notion.so/dd15fd804ef94d69b91205b35d5ec57a ) Propolsal
Make a separated lua module
Make a lua function which mayBeCompressed(
space name
,field name
) ->float
Select random 10000 tuples from space
Make a temporary space with the same format as
space name
field name
is_compressed = trueInsert random 10000 tuples into temporary space
Compare original space bsize and temporary space bsize
Return compression ratio
Make a iteration over spaces
Choose only string fields
Filter fields, choose only fields which is not in indexes
Make a list with result [{name: aaa field:}, {}]
Corner cases
Handle cases:
The text was updated successfully, but these errors were encountered: