Open Bug 1277366 Opened 8 years ago Updated 8 years ago

fielddefs custom and obsolete should probably be indexed

Categories

(Bugzilla :: Database, enhancement)

5.1.1
enhancement
Not set
normal

Tracking

()

People

(Reporter: dylan, Unassigned)

Details

(Keywords: perf)

On large sites, like BMO, custom fields can out-number non-custom fields.

Searching for fields where custom = 0 is common, and that field is not indexed. Indexing that field would provide a slight performance improvement and I fail to see the downsides.
Wouldn't custom + obsolete make more sense than custom alone? You often want active custom fields.
Severity: normal → enhancement
looks like that is an even better win.
Summary: fielddefs.custom should probably be indexed → fielddefs custom and obsolete should probably be indexed
You need to log in before you can comment on or make changes to this bug.