Closed
Bug 179322
Opened 22 years ago
Closed 11 years ago
Searches should look up requested columns after doing matches
Categories
(Bugzilla :: Query/Bug List, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 819432
People
(Reporter: bbaetz, Unassigned)
Details
Numbers in bug 114696, comments 45 and 46 seem to hint that mysql doesn't do a
good job of handling the joins we do in the results. It may be worth splitting
up the searchs, so that we select all the required bug_ids, then do inner joins
to get the various column headers.
Based on those large numbers, this will be requried before we start splitting
stuff up into lots of lookups with custfields.
However, the disadvange is that for short queries, the extra query may slow
stuff down, because of the db->perl->db step. This isn't an issue on databases
which support subselects, because they can pull the query out if its worth it.
I'm not sure that the CREATE TEMPORARY TABLE overhead would be much better, either.
Anyway, I'll try to come up with a patch, and then we can run some tests.
Updated•21 years ago
|
Assignee: endico → nobody
Updated•19 years ago
|
QA Contact: mattyt-bugzilla → default-qa
Updated•16 years ago
|
Assignee: nobody → query-and-buglist
Comment 1•11 years ago
|
||
This has been implemented in Bugzilla 4.4.
Status: NEW → RESOLVED
Closed: 11 years ago
OS: Linux → All
Hardware: x86 → All
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•