Project

General

Profile

Actions

Bug #11610

closed

db migration extremly slow

Added by Ohad Levy over 9 years ago. Updated over 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

Also available in: Atom PDF