Bug 1378830 - Satellite 6 performance issues due to slow query
Summary: Satellite 6 performance issues due to slow query
Keywords:
Status: CLOSED DUPLICATE of bug 1334924
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Tasks Plugin
Version: 6.2.0
Hardware: All
OS: Linux
low
low vote
Target Milestone: Unspecified
Assignee: Swapnil Abnave
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-23 10:48 UTC by Swapnil Abnave
Modified: 2019-12-16 06:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-26 20:33:03 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Swapnil Abnave 2016-09-23 10:48:14 UTC
After upgrading from Satellite 6.1 to Satellite 6.2, we experienced severe performance issues in Satellite. We managed to track the problem down to a specific query related to Tasks which seemed to hit a degenerate corner case in postgres that caused the query to run extremely slowly.

We've temporarily corrected the issue by flushing all of the Tasks in Satellite to clear out the Tasks tables.  However, it would probably be a good idea to have the Satellite engineering team look at this issue and see if there is anything they can do to prevent the issue from recurring.  For example, perhaps the query can be rewritten or a new index can be created to avoid hitting this degenerate corner case in postgres?

We happen to have an EnterpriseDB support contract, so we also plan to ask EnterpriseDB to look into this problem.  Specifically, we would like EnterpriseDB to determine whether this degenerate corner case should be considered a bug in postgres.


Note You need to log in before you can comment on or make changes to this bug.