Project

General

Profile

Actions

Bug #16763

closed

dashboard errata widget performs large/slow sort in sql

Added by Chris Duryee over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

On a system with lots of errata and hosts, the errata dashboard widget can take upwards of 90 seconds to load. This depends on the size of `katello_content_facet_errata`, and the size of the largest errata's description/summary/solution text.

If the join between the errata and the content facets is larger than work_mem, the sort will need to be done on-disk, resulting in extremely slow dashboard load time. work_mem should not be increased if possible, as it is used for each query and subquery.

Actions #1

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/6365 added
Actions #2

Updated by Chris Duryee over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Justin Sherrill over 8 years ago

  • Translation missing: en.field_release set to 162
Actions

Also available in: Atom PDF