Closed Bug 324428 Opened 19 years ago Closed 19 years ago

Check DB sorting performance

Categories

(Firefox :: Bookmarks & History, defect, P4)

defect

Tracking

()

RESOLVED FIXED
Firefox 2 beta1

People

(Reporter: brettw, Assigned: brettw)

Details

The current implementation has a "SORT BY" SQL clause when doing history queries on the assumption that the database can do a faster job than we can because it has indices. Then we sort afterward, which is necessary for some things like grouping and because of internationalization issues. If the results are already mostly sorted, our second sorting will be much faster. However, I suspect that the initial sort is not any faster than ours, so we are actually wasting time doing two sorts. Investigate this and remove the DB sorting clause if necessary.
Priority: -- → P4
Target Milestone: --- → Firefox 2 beta1
The SORT BY clause is necessary for the max results to work. It might be good to only do this in the cases where we have max results, but sorting performance seems fine now.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.