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

Add sort_peptides back temporarily #51

Closed
wants to merge 1 commit into from

Conversation

stijndcl
Copy link
Contributor

@stijndcl stijndcl commented Apr 3, 2024

After 6 weeks of trying to import the MariaDB database I discovered that the peptides not being sorted is the culprit.

This does not make any impact for Postgres, but apparently it makes a massive impact for MariaDB.

Hence, I've added the old sort_peptides step back in. Added some TODO comments so we can find it again in the near future when we switch to PSQL.

@stijndcl stijndcl added the bug Something isn't working label Apr 3, 2024
@stijndcl stijndcl requested a review from pverscha April 3, 2024 12:19
@stijndcl stijndcl self-assigned this Apr 3, 2024
@bmesuere
Copy link
Member

bmesuere commented Apr 3, 2024

Ah, yes, this makes sense. In innodb, tables/indexes are stored in a sorted order. Inserting in non-sorted order will cause rewrites.

@stijndcl stijndcl closed this Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants