Project

General

Profile

Actions

Bug #28427

closed

Content view versions list has slow query for package count

Added by Partha Aji about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Customer has over 9 million rows in their katello_repository_rpms. Checking for content view version list takes much longer than anticipated.
We need to cache to the content counts for a content view version when creating it and have content view version list piggy back of that cache.
We could add a counts with a serializable json to store this information.

Four parts to the story

1) Create a serializable column to store the content counts for a content view version
2) Store the content view counts when the content view is created
3) Make the content view version list use the content counts
4) Write a db migration script to setup the content counts

Actions #1

Updated by Partha Aji about 5 years ago

  • Category set to Content Views
Actions #2

Updated by Partha Aji about 5 years ago

  • Bugzilla link set to 1486446
Actions #3

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Partha Aji
  • Pull request https://github.com/Katello/katello/pull/8468 added
Actions #4

Updated by James Jeffers about 5 years ago

  • Target version set to Katello 3.15.0
Actions #5

Updated by Jonathon Turel about 5 years ago

  • Triaged changed from No to Yes
Actions #6

Updated by The Foreman Bot about 5 years ago

  • Fixed in Releases Katello 3.15.0 added
Actions #7

Updated by Partha Aji about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF