Closed Bug 1154769 Opened 10 years ago Closed 10 years ago

Implement IndexedDB periodic vacuum strategy

Categories

(Core :: Storage: IndexedDB, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 858680

People

(Reporter: bkelly, Assigned: bent.mozilla)

Details

On desktop IDB uses PRAGMA auto_vacuum=incremental, but never calls PRAGMA incremental_vacuum. Without this second call the incremental vacuum is never actually performed. http://sqlite.org/pragma.html#pragma_auto_vacuum http://sqlite.org/pragma.html#pragma_incremental_vacuum So desktop is paying the cost of accounting for page changes in the db, but never actually removing unused pages.
Yeah, this was intentional. We're going to do it this quarter, just didn't want to have to do two full VACUUMs (previous schema change requires a VACUUM, turning on auto_vacuum requires a VACUUM).
Assignee: nobody → bent.mozilla
Summary: IDB uses PRAGMA auto_vacuum=incremental, but never calls PRAGMA incremental_vacuum → Implement IndexedDB periodic vacuum strategy
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.