Project

General

Custom queries

Profile

Actions

Bug #11834

closed

host status migration is very slow

Added by Ohad Levy over 9 years ago. Updated almost 7 years ago.

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

Description

On a largish db, calculating the host status takes a whole lot of time.

it seems that many queries are repeating them selfs are simply could be eager loaded for the migration.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #10782: Add global status for hostsClosedMarek Hulán06/11/2015Actions
#1

Updated by Ohad Levy over 9 years ago

#2

Updated by Dominic Cleal over 9 years ago

  • Assignee deleted (Marek Hulán)
  • Translation missing: en.field_release set to 63
#4

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2860 added
  • Pull request deleted ()
#6

Updated by Dominic Cleal over 9 years ago

  • Assignee set to Marek Hulán
  • Translation missing: en.field_release changed from 63 to 104
#7

Updated by Marek Hulán over 9 years ago

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

Also available in: Atom PDF