Actions
Issue #7699
closedContent migration is slooooooow on low-spec machines
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 83
Quarter:
Added by dalley about 4 years ago
Added by dalley about 4 years ago
Revision 9997909b | View on GitHub
Optimize content migration queries to avoid sorts
- Use select_related instead of prefetch_related to get everything in one query
- Use .iterator() instead of chunked_iterator() which required an additional sort operation
The result is not much faster on my dev machine, but much faster on the Katello box w/ HDD.
Added by dalley about 4 years ago
Revision 9997909b | View on GitHub
Optimize content migration queries to avoid sorts
- Use select_related instead of prefetch_related to get everything in one query
- Use .iterator() instead of chunked_iterator() which required an additional sort operation
The result is not much faster on my dev machine, but much faster on the Katello box w/ HDD.
Updated by dalley about 4 years ago
- Status changed from ASSIGNED to MODIFIED
Applied in changeset pulp-2to3-migration|9997909b7af85f21405344407d4acf6f522d308d.
Updated by ttereshc about 4 years ago
- Project changed from Pulp to Migration Plugin
Updated by pulpbot about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Optimize content migration queries to avoid sorts
The result is not much faster on my dev machine, but much faster on the Katello box w/ HDD.
closes: #7699 https://pulp.plan.io/issues/7699