Bug #667

welcome screens query is not optimized

Added by Ohad Levy over 2 years ago. Updated over 2 years ago.

Status:Closed Start:02/15/2011
Priority:Normal Due date:
Assigned to:Ohad Levy % Done:

100%

Category:Database
Target version:0.2
Backlog:No Difficulity:
Votes: 0

Description

When starting foreman for the first time, foreman tries to show some help messages.

which simply count the amount of entires (i.e. hosts, reports, facts).

When the tables are large, this takes a lot of time, as it does not uses a index (see https://groups.google.com/group/foreman-users/browse_thread/thread/2729d0b6583037eb?hl=en).

Associated revisions

Revision a6273e1f1ebcbf364de955a969f8244109a5f764
Added by Ohad Levy over 2 years ago

fixes #667 - welcome screens query is not optimized

History

Updated by Ohad Levy over 2 years ago

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

Updated by Ohad Levy over 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF