Bug 1650259
Summary: | slow errata query on dashboard | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | sthirugn <sthirugn> | |
Component: | Errata Management | Assignee: | Partha Aji <paji> | |
Status: | CLOSED ERRATA | QA Contact: | Perry Gagne <pgagne> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.3.2 | CC: | andrew.schofield, egolov, kabbott, mhulan | |
Target Milestone: | 6.5.0 | Keywords: | FieldEngineering, PrioBumpField, Triaged | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | tfm-rubygem-katello-3.10.0.13-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1684702 (view as bug list) | Environment: | ||
Last Closed: | 2019-05-14 12:38:50 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
sthirugn@redhat.com
2018-11-15 17:00:50 UTC
This query takes anywhere between 30 seconds to 90 seconds in this customer environment. Might be related to https://bugzilla.redhat.com/show_bug.cgi?id=1656470#c3 Connecting redmine issue https://projects.theforeman.org/issues/25884 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25884 has been resolved. Verified fix in 6.5 snap 13. Used content-host-d to generate a number of hosts and the query time when down a lot: From postgres logs, times for " execute <unnamed>: SELECT "katello_errata".* FROM "katello_errata" " 8K Hosts: 2019-01-31 11:26:10 EST LOG: duration: 1373.899 ms 12K hosts : 2019-02-04 10:11:04 EST LOG: duration: 2088.931 ms execute <unnamed>: SELECT "katello_errata".* FROM "katello_errata" The dashboard widget loaded almost instantly as a result. This bug was cloned and is still going to be included in the 6.4.3 release. It no longer has the sat-6.4.z+ flag and 6.4.3 Target Milestone Set which are now on the 6.4.z cloned bug. Please see the Clones field to track the progress of this bug in the 6.4.3 release. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:1222 |