Closed
Bug 412194
Opened 18 years ago
Closed 18 years ago
deleting history entries painfully slow
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 402486
People
(Reporter: zeniko, Unassigned)
Details
(Keywords: hang, perf, regression)
Steps to Reproduce:
1. Get some 50 history entries (e.g. by going through all bugs filed today at bugzilla.mozilla.org)
2. Open the History sidebar
3. Select the 50 history entries and hit [Delete]
Expected Result:
They're gone (Firefox 2.0 does this in an instant).
Actual result:
Lots of disk churning and Firefox is unresponsive for over 10 seconds before they're finally gone.
Might be related to bug 373256 (places.sqlite doesn't seem to be cached). Might also be due to the fact that SQLite somehow doesn't allow the OS to keep places.sqlite in its own memory cache.
OTOH: Are all entries removed with a single query to start with?
Comment 1•18 years ago
|
||
(In reply to comment #0)
> OTOH: Are all entries removed with a single query to start with?
I thought that every history entry was deleted separately, with a call to nsNavHistory::RemovePage . This uses a transaction per entry, and iterates over various tables (annotations etc ...). It might be possible to write a function that can delete a whole bunch of entries. Note that each call to nsNavHistory::RemovePage will call nsNavHistoryExpire::OnDeleteURI on its own, although only 1 will suffice.
Comment 2•18 years ago
|
||
is this not Bug 402486?
| Reporter | ||
Comment 3•18 years ago
|
||
(In reply to comment #2)
Whatever I've been searching for before filing this bug...
Thanks for doing better.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Comment 4•17 years ago
|
||
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.
Description
•