Closed Bug 786023 Opened 12 years ago Closed 9 months ago

Consider counting msf file size when displaying size on disk info

Categories

(MailNews Core :: Database, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: stef, Unassigned)

References

Details

In bug 768621 size on disk info was added to folder -> Properties… -> General information. Since msf file is directly related to folder content we should recognize its size as part of space occupied by folder and incorporate such information somehow.
Component: Mail Window Front End → Database
OS: Mac OS X → All
Product: Thunderbird → MailNews Core
Hardware: x86 → All
Version: unspecified → Trunk
Severity: normal → enhancement
How hard would this be?
I don't think it would be very hard to do. A folder has a single database, and you could get its file size pretty easily.

But you are going down a slippery slope here. If the user is asking "how much space would I save if I deleted this folder?" then you also have the issue of the gloda index which takes up quite a bit of space. There is no practical way to see the effect of a folder's messages on the gloda index.

If the user is asking "how close am I to the 4 GB limit for mbox size?" then the existing implementation is better. Or you need to add the database size as a separate parameter.

Personally I don't think this is something we should do, but that is just my opinion.
My thinking is similar to Kent's
Severity: normal → S3

Mork will be gone in the next couple years, so it's fair to say we won't do this between now and then. And after that we will be in the database world, where it won't even be possible to extract the size

Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.