Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 1025460[details]
foreman-debug
Description of problem:
Opening the Products page takes about 3min for 22 Products,then scrolling takes another 3min
Version-Release number of selected component (if applicable):
Satellite 6
How reproducible:
Every time.
Steps to Reproduce:
Try to visit Product page with >=22 products
Actual results:
The products page loads very slowly.
Expected results:
It should be faster, this system has 4vCPU's and 16GB of RAM assigned.
Additional info:
number of database selects per tables (2nd column is table name, 1st is number of selects):
$ grep SELECT select | cut -d\" -f4 | sort | uniq -c | sort -n
1 users
95 katello_sync_plans
107 katello_providers
172 katello_task_statuses
184 katello_products
254 katello_content_views
1683 katello_content_view_versions
1691 taxonomies
4346 katello_repositories
34586 katello_environments
$
Various selects of katello_environments (sorting WHERE clauses):
$ sort katello_environments.txt | uniq -c | sort -n
..
637 "katello_content_view_environments"."content_view_version_id" = 118
637 "katello_content_view_environments"."content_view_version_id" = 57
..
639 "katello_content_view_environments"."content_view_version_id" = 52
639 "katello_content_view_environments"."content_view_version_id" = 53
$
Removing redundant content views / versions would speed up the listing.
Comment 1RHEL Program Management
2015-05-14 15:02:39 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Created attachment 1025460 [details] foreman-debug Description of problem: Opening the Products page takes about 3min for 22 Products,then scrolling takes another 3min Version-Release number of selected component (if applicable): Satellite 6 How reproducible: Every time. Steps to Reproduce: Try to visit Product page with >=22 products Actual results: The products page loads very slowly. Expected results: It should be faster, this system has 4vCPU's and 16GB of RAM assigned. Additional info: number of database selects per tables (2nd column is table name, 1st is number of selects): $ grep SELECT select | cut -d\" -f4 | sort | uniq -c | sort -n 1 users 95 katello_sync_plans 107 katello_providers 172 katello_task_statuses 184 katello_products 254 katello_content_views 1683 katello_content_view_versions 1691 taxonomies 4346 katello_repositories 34586 katello_environments $ Various selects of katello_environments (sorting WHERE clauses): $ sort katello_environments.txt | uniq -c | sort -n .. 637 "katello_content_view_environments"."content_view_version_id" = 118 637 "katello_content_view_environments"."content_view_version_id" = 57 .. 639 "katello_content_view_environments"."content_view_version_id" = 52 639 "katello_content_view_environments"."content_view_version_id" = 53 $ Removing redundant content views / versions would speed up the listing.