store thumbnails in heirarchical tree
Submitted by Adam Dingle
Link to original bug (#718136)
Description
---- Reported by adam@yorba.org 2011-12-15 16:10:00 -0800 ----
Original Redmine bug id: 4489
Original URL: http://redmine.yorba.org/issues/4489
Searchable id: yorba-bug-4489
Original author: Adam Dingle
Original description:
A suggestion from Josep Cols on the mailing list:
Shotwell saves the thumbs in a flat directory.
I propose to create a directory tree for thumbs to improve scalability.
For instance:
For the first 16K photos, a flat directory can be used
For the next photos, 1 new directory, in the main directory, can be created to acomodate another 16K thumbs
With this schema, and the same actual name schema, it is not needed to save the full path for every thumb because it can be computed from the file name.
(Note that this may all be unnecessary if we implement #2250 (closed).)
Related issues:
- related to shotwell - 2250: store thumbnails in photo directories (Invalid)
---- Additional Comments From shotwell-maint@gnome.bugs 2013-05-16 14:44:00 -0700 ----
History
Comment 1
Updated by Thomas Güttler about 1 year ago
What about this solution? Put 0..999 into one directory
`.shotwell/thumbs/thumbs128/thumb/1.jpg
.shotwell/thumbs/thumbs128/thumb/100.jpg
.shotwell/thumbs/thumbs128/thumb/100/0.jpg
.shotwell/thumbs/thumbs128/thumb/100/00.jpg
.shotwell/thumbs/thumbs128/thumb/100/000.jpg
.shotwell/thumbs/thumbs128/thumb/100/000/0.jpg
`
Parallel to /thumb/ there needs to be /video/
Comment 2
Updated by Jim Nelson 11 months ago
- Target version set to 0.14.0
Comment 3
Updated by Jim Nelson 11 months ago
- Category set to library-mode
Comment 4
Updated by Jim Nelson 11 months ago
- Tracker changed from Feature to Bug
- Subject changed from store thumbnails in directory tree to store thumbnails in heirarchical tree
- Target version changed from 0.14.0 to 0.15.0
This has some performance wins, but I don't think it's something we're going to do for 0.14.
Comment 5
Updated by Jim Nelson 8 months ago
- Target version changed from 0.15.0 to 0.16.0
Comment 6
Updated by Jim Nelson 6 months ago
-
Target version deleted (
<strike>
_0.16.0_</strike>
)
--- Bug imported by chaz@yorba.org 2013-11-25 21:55 UTC ---
This bug was previously known as bug 4489 at http://redmine.yorba.org/show_bug.cgi?id=4489
Unknown version " in product shotwell. Setting version to "!unspecified". Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one. Resolution set on an open status. Dropping resolution