Bug 525575
| Summary: | After upgrade to Satellite 5.3.0, Systems and System Groups Overview pages load much slower and/or run into 'service temporary unavailable' | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Xixi <xdmoon> | |
| Component: | Server | Assignee: | Justin Sherrill <jsherril> | |
| Status: | CLOSED ERRATA | QA Contact: | Brandon Perkins <bperkins> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 530 | CC: | clasohm, cperry, mmraka, psklenar, riaanvn, tao, xdmoon | |
| Target Milestone: | --- | Keywords: | Regression | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 531645 (view as bug list) | Environment: | ||
| Last Closed: | 2009-10-14 07:20:55 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 518256, 527784, 531645 | |||
|
Description
Xixi
2009-09-24 21:27:45 UTC
Per IRC with Justin, engineering is working on optimizing the query (the final version may be different than proposed), in the meantime, can continue to use proposed query change from GPS consultant as a temporary workaround (great work! :)). jsherrill_laptop xixi, so that kinda makes senese, but i'm surprised it made *that* much of a difference xixi looks like it's mainly "rhnServerNeededPackageCache" to "rhnServerNeededErrataCache" xixi yeah jsherrill_laptop i wonder if it would be faster to just use rhnServerNeededCache jsherrill_laptop which is the table that is underneath both those views xixi so use the table instead of the view xixi jsherrill_laptop: sure we can try that jsherrill_laptop yeah, both those views used to be tables jsherrill_laptop but i abstracted it out into one table (rhnServerNeededCache) xixi jsherrill_laptop: ok jsherrill_laptop and then created two views to 'simulate' the old tables xixi jsherrill_laptop: so do we want to have the other affected customers try a modified version as you mentioned above? jsherrill_laptop couldn't hurt, and once we have an internal reproducer, we can test the two and see if there's much difference jsherrill_laptop: yeah we definitely want to try out in-house (In reply to comment #2) > jsherrill_laptop i wonder if it would be faster to just use > rhnServerNeededCache > jsherrill_laptop which is the table that is underneath both those views I tried this, and it didn't make any difference for the execution time. The reason why the rhnServerNeededPackageCache view is slow is the "max" and "group by". This forces Oracle to take all package rows for a server, and hold them in memory as a temporary result (or in the case here, in temporary tablespace, because the default PGA was no large enough). spacewalk master 5713ce473236d273c2a4c1608ec3f7f144e9b4e8 satellite.git b4ac81bace69fc1fda5f1ace81db5e622b1b44e6 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1496.html |