Project

General

Profile

Actions

Bug #11610

closed

db migration extremly slow

Added by Ohad Levy over 8 years ago. Updated almost 6 years ago.

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

Description

When having a lot of hosts, since introducing db/migrate/20150819105725_add_lookup_value_match_to_host_and_hostgroup.rb is extremely slow.
in my test db i have about 40k hosts, and the migration time is a few hours (did not finish yet).


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #11425: add a real primary key to host and hostgroup for lookup_values has_manyClosedTom Caspy08/19/2015Actions
Actions #1

Updated by Ohad Levy over 8 years ago

  • Related to Bug #11425: add a real primary key to host and hostgroup for lookup_values has_many added
Actions #2

Updated by The Foreman Bot over 8 years ago

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

Updated by Dominic Cleal over 8 years ago

  • translation missing: en.field_release set to 63
Actions #4

Updated by Tom Caspy over 8 years ago

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

Also available in: Atom PDF