-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#40 First messy attempt to batch the target inserts
- divides each target row into batches - batch searches for whether they already exist from source - if they do, updates them one-by-one (no easy way with Micronaut data to do these updates in bulk just yet) - any remaining which do not are batch inserted This still doesn't seem quite right - large batch sizes cause things to lock up and halt - some kind of exhaustion? - this leaves the slowest bit the updates to existing rows which are done one-by-one - if all rows in target are matched to source, the target metadata is missing
- Loading branch information
1 parent
1f11173
commit de49086
Showing
2 changed files
with
38 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters