Closed
Bug 858674
Opened 11 years ago
Closed 11 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)
10.56 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
10.60 KB,
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•11 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•11 years ago
|
blocking-b2g: --- → tef?
Assignee | ||
Comment 2•11 years ago
|
||
Filed bug 858680 on figuring out a long-term solution involving full VACUUMs for indexedDB.
Comment 3•11 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•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1e01b8a81990
Comment 5•11 years ago
|
||
Backed out for Windows bustage. https://hg.mozilla.org/integration/mozilla-inbound/rev/99cfae75ee7c https://tbpl.mozilla.org/php/getParsedLog.php?id=21556769&tree=Mozilla-Inbound
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e0553df9a3be with r=khuey on the (tiny) change.
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e0553df9a3be
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Comment 8•11 years ago
|
||
Your b2g18 patch is going to need updating for the Windows bustage too...
Updated•11 years ago
|
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #733953 -
Attachment is obsolete: true
Comment 11•11 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•11 years ago
|
Blocks: low-storage
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•