Actions
Bug #18843
closedChange eager_load to includes statement in hosts api controller's index action
Description
Since the query is pretty wide (contains multiple joins) the execution plan will try to make all joins and only then try to filter unnecessary rows. This causes PG to load a huge temporary table into memory, and since it's too big to fit in, the CPU sky rockets.
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Shimon Shtein
- Pull request https://github.com/theforeman/foreman/pull/4365 added
Updated by Shimon Shtein almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset a60d71e65b063a84f637ed4d17d0053038da9da5.
Updated by Dominic Cleal almost 8 years ago
- Translation missing: en.field_release set to 227
Actions