Skip to content

Improve migration performance#16784

Merged
kjac merged 3 commits into
v13/devfrom
v13/fix/slow-migrations
Jul 31, 2024
Merged

Improve migration performance#16784
kjac merged 3 commits into
v13/devfrom
v13/fix/slow-migrations

Conversation

@Migaroez

@Migaroez Migaroez commented Jul 17, 2024

Copy link
Copy Markdown
Contributor

This PR updates 2 existing migrations to be more performant. Both Cloud and heartcore have had issues with timeout regarding these performances.

The Heartcore team made a workaround (pre migration) on which these changes are based.

v12 migration
A result differential has been performed between the old and new migration with a large production copy database. No differences were found in the result.

v10 migration
A large amount of nodes with tags were generated, the differential again showed no differences in the result.

note
Testing should be done against a Sql-Server DB.

@Migaroez Migaroez marked this pull request as ready for review July 29, 2024 06:56
…properly and sqlLite datasets should not be large anyway

@kjac kjac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It works like a charm 💪

@kjac kjac merged commit bb65436 into v13/dev Jul 31, 2024
@kjac kjac deleted the v13/fix/slow-migrations branch July 31, 2024 08:35
@nul800sebastiaan nul800sebastiaan added category/performance Fixes for performance (generally cpu or memory) fixes type/feature release/13.5.0 labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category/performance Fixes for performance (generally cpu or memory) fixes release/13.5.0 type/feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants