Closed
Bug 1464443
Opened 8 years ago
Closed 8 years ago
Add a LIMIT to ORDER BY queries, where possible.
Categories
(Toolkit :: Places, enhancement, P2)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla62
| Tracking | Status | |
|---|---|---|
| firefox62 | --- | fixed |
People
(Reporter: mak, Assigned: mak)
References
Details
(Whiteboard: [fxsearch])
Attachments
(1 file)
Sqlite 3.24.00 will add an optimization where ORDER BY M LIMIT N queries can be better optimized than without a LIMIT. This changes one of the assumptions we always made about Sqlite queries not being more expensive if they don't have a LIMIT.
I plan to do a general check of all the Places queries to see if there are points where we could benefit from the new Sqlite version.
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 4•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8980651 [details]
Bug 1464443 - Add a LIMIT to ORDER BY queries in Places.
https://reviewboard.mozilla.org/r/246814/#review254060
Attachment #8980651 -
Flags: review?(standard8) → review+
Comment 5•8 years ago
|
||
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.
hg error in cmd: hg rebase -s 3f921b88dec6e0fae5bd43cdde51415481df6ef8 -d 15c30a777a2d: rebasing 466059:3f921b88dec6 "Bug 1464443 - Add a LIMIT to ORDER BY queries in Places. r=standard8" (tip)
merging toolkit/components/places/SQLFunctions.cpp
warning: conflicts while merging toolkit/components/places/SQLFunctions.cpp! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
| Comment hidden (mozreview-request) |
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/99c88a248a13
Add a LIMIT to ORDER BY queries in Places. r=standard8
Comment 8•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
| Assignee | ||
Updated•8 years ago
|
Depends on: SQLite3.24.0
You need to log in
before you can comment on or make changes to this bug.
Description
•