Open
Bug 352976
Opened 18 years ago
Updated 2 years ago
Compact feature for local.sqlite (executing VACUUM command)
Categories
(Calendar :: Provider: Local Storage, enhancement)
Calendar
Provider: Local Storage
Tracking
(Not tracked)
NEW
People
(Reporter: omar.bajraszewski, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20060915 BonEcho/2.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20060915 BonEcho/2.0 When a calendar is deleted the size of storage.sdb doesn't change. The unused disk space is added to an internal "free-list" and is reused the next time data is inserted. What I propose is compact feature (like in thunderbird) to reduce the size of storage.sdb. Stefan Sitter mentioned about this site: http://www.sqlite.org/faq.html#q14 I don't know anything about SQLite but I think VACUUM command can be implemented. What do you think? Is it possible? Reproducible: Always
Comment 1•18 years ago
|
||
This should probably go over to Toolkit:Storage to be implemented on the mozIStorage interfaces.
Comment 2•18 years ago
|
||
See comments on similar topic in Bug 334010 and http://developer.mozilla.org/en/docs/Storage:Performance#Vacuuming_and_zero-fill
Updated•17 years ago
|
Summary: Compact feature for storage.sdb → Compact feature for storage.sdb (run the VACUUM command)
Updated•17 years ago
|
OS: Windows XP → All
Hardware: PC → All
Updated•16 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•16 years ago
|
Flags: wanted-calendar1.0?
Comment 3•16 years ago
|
||
Instead of adding explicit code, IMO we should use one of the more recent vacuum pragmas: <http://www.sqlite.org/pragma.html#pragma_auto_vacuum>.
Updated•15 years ago
|
Summary: Compact feature for storage.sdb (run the VACUUM command) → Compact feature for local.sqlite (executing VACUUM command)
Updated•12 years ago
|
Flags: wanted-calendar1.0?
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•