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

Optimize mtt database for disk usage #51

Closed
ompiteam opened this issue Sep 13, 2014 · 2 comments
Closed

Optimize mtt database for disk usage #51

ompiteam opened this issue Sep 13, 2014 · 2 comments
Assignees
Milestone

Comments

@ompiteam
Copy link
Contributor

The mtt database repeats many character strings thousands of times. For columns that contain such strings, a separate table should be created to index into from the main table. E.g., an entry that currently looks like:

||'''hostname''' ||'''test_name''' ||'''result''' ||
||somehost.com ||hello ||1 ||

Will instead look like:

||'''hostname''' ||'''test_name''' ||'''result''' ||
||index1 ||index2 ||1 ||

Where {{{hostname}}} and {{{test_name}}} tables exist that contain the following entries:

||'''index''' ||'''hostname''' ||
||index1 ||somehost.com ||
{{{}}}
||'''index''' ||'''test_name''' ||
||index2 ||hello ||

Will this significantly degrade performance?

@ompiteam ompiteam self-assigned this Sep 13, 2014
@ompiteam ompiteam added this to the v2.0 milestone Sep 13, 2014
@ompiteam
Copy link
Contributor Author

Imported from trac issue 50. Created by emallove on 2006-08-31T10:17:13, last modified: 2006-12-15T11:23:06

@ompiteam
Copy link
Contributor Author

Trac comment by emallove on 2006-09-02 09:49:57:

As Jeff pointed out to me, this will ''improve'' performance because instead of doing x number of string comparisons in our searches/aggregations, we will be doing x number of (speedier) integer comparisons.

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

No branches or pull requests

1 participant