Project

Profile

Help

Issue #7699

closed

Content migration is slooooooow on low-spec machines

Added by dalley about 4 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 83
Quarter:

Actions #1

Updated by dalley about 4 years ago

  • Sprint changed from Sprint 82 to Sprint 83

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.

closes: #7699 https://pulp.plan.io/issues/7699

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.

closes: #7699 https://pulp.plan.io/issues/7699

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.

closes: #7699 https://pulp.plan.io/issues/7699

Actions #2

Updated by dalley about 4 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #3

Updated by ttereshc about 4 years ago

  • Project changed from Pulp to Migration Plugin
Actions #4

Updated by ttereshc about 4 years ago

  • Sprint/Milestone set to 0.5.0
Actions #5

Updated by pulpbot about 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF