Closed
Bug 858674
Opened 12 years ago
Closed 12 years ago
Tweak SQLite pragmas on mobile devices for space savings
Categories
(Core :: Storage: IndexedDB, defect)
Core
Storage: IndexedDB
Tracking
()
People
(Reporter: bent.mozilla, Assigned: bent.mozilla)
References
Details
(Whiteboard: [qa-])
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
Bug 853350 requires a bunch of engineering and product work to fully resolve. In the short term we can tweak SQLite pragmas on mobile devices to get a little more space back when we delete things from indexedDB databases. We can also get a little speed boost by leaving 0-size .sqlite-journal files on disk rather than deleting them.
Attached patch requires the patches from bug 857376 to land, but that should be happening as soon as the tree reopens.
Attachment #733950 -
Flags: review?(khuey)
Assignee | ||
Comment 1•12 years ago
|
||
This is nearly identical to the m-c patch, only real difference is that page_size is hardcoded since we decided not to do anything fancy on b2g18 in bug 858674.
Assignee | ||
Updated•12 years ago
|
blocking-b2g: --- → tef?
Assignee | ||
Comment 2•12 years ago
|
||
Filed bug 858680 on figuring out a long-term solution involving full VACUUMs for indexedDB.
Comment 3•12 years ago
|
||
Given that we don't have still any progress with bug 853350 I think landing this makes sense
blocking-b2g: tef? → tef+
Attachment #733950 -
Flags: review?(khuey) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Assignee | ||
Comment 6•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e0553df9a3be with r=khuey on the (tiny) change.
Comment 7•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Comment 8•12 years ago
|
||
Your b2g18 patch is going to need updating for the Windows bustage too...
Updated•12 years ago
|
Assignee | ||
Comment 9•12 years ago
|
||
Attachment #733953 -
Attachment is obsolete: true
Comment 11•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/b876371dc011
https://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/a5d3be0e028d
status-firefox21:
--- → wontfix
status-firefox22:
--- → wontfix
status-firefox23:
--- → fixed
Keywords: checkin-needed
Updated•12 years ago
|
Blocks: low-storage
Updated•12 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•