Actions
Bug #15233
closedviewing CV version list slow as packages are added
Description
As the `katello_repository_rpms` table grows, the CVV page gets slower and slower. For example, this query can take 300+ msec:
LOG: duration: 329.058 ms execute a36: SELECT COUNT(*) FROM "katello_rpms" INNER JOIN "katello_repository_rpms" ON "katello_repository_rpms"."rpm_id" = "katello_rpms"."id" WHERE "katello_repository_rpms"."repository_id" IN (SELECT "katello_repositories"."id" FROM "katello_repositories" WHERE "katello_repositories"."content_view_version_id" = $1 AND (environment_id is NULL))
This is run once for every CVV on the page.
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6086 added
Updated by Chris Duryee over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|a766d9d709ecfedf2b89cafbaf576a254abf3feb.
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 86
Actions