[GH-ISSUE #21] Data fragmentation and database #9

Closed
opened 2026-03-02 16:46:58 +03:00 by kerem · 3 comments
Owner

Originally created by @KITblue on GitHub (Sep 19, 2020).
Original GitHub issue: https://github.com/photoprism/photoprism-docs/issues/21

Originally assigned to: @lastzero on GitHub.

The number of images generated by the program is too large, fragmentation is serious, and it has a great impact on the hard disk. Do you want to consider using a database

Originally created by @KITblue on GitHub (Sep 19, 2020). Original GitHub issue: https://github.com/photoprism/photoprism-docs/issues/21 Originally assigned to: @lastzero on GitHub. The number of images generated by the program is too large, fragmentation is serious, and it has a great impact on the hard disk. Do you want to consider using a database
kerem 2026-03-02 16:46:58 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@lastzero commented on GitHub (Sep 19, 2020):

Haven't heard the word fragmentation for a very long time. What file system?

You typically wouldn't store files in a database. And if you do, the database might as well store them as individual files or suffer from fragmentation if stored in a single binary.

<!-- gh-comment-id:695172766 --> @lastzero commented on GitHub (Sep 19, 2020): Haven't heard the word fragmentation for a very long time. What file system? You typically wouldn't store files in a database. And if you do, the database might as well store them as individual files or suffer from fragmentation if stored in a single binary.
Author
Owner

@lastzero commented on GitHub (Sep 20, 2020):

This question on Stackexchange seems related:

https://unix.stackexchange.com/questions/28756/what-is-the-most-high-performance-linux-filesystem-for-storing-a-lot-of-small-fi

TL;DR: Performance and fragmentation depend a lot on the specific file system

Money quote:

The only way to prevent file systems from distributing files over the drive, is to keep the partition only as big as you really need it, but pay attention not to make the partition too small, to prevent intrafile-fragmenting.

<!-- gh-comment-id:695793123 --> @lastzero commented on GitHub (Sep 20, 2020): This question on Stackexchange seems related: https://unix.stackexchange.com/questions/28756/what-is-the-most-high-performance-linux-filesystem-for-storing-a-lot-of-small-fi **TL;DR: Performance and fragmentation depend a lot on the specific file system** Money quote: > The only way to prevent file systems from distributing files over the drive, is to keep the partition only as big as you really need it, but pay attention not to make the partition too small, to prevent intrafile-fragmenting.
Author
Owner

@lastzero commented on GitHub (Sep 20, 2020):

I'll close this, since the repo is for our docs only.

If you have a specific feature request or bug report, you're welcome to open an issue in our main repo:

https://github.com/photoprism/photoprism/issues

<!-- gh-comment-id:695793437 --> @lastzero commented on GitHub (Sep 20, 2020): I'll close this, since the repo is for our docs only. If you have a specific feature request or bug report, you're welcome to open an issue in our main repo: https://github.com/photoprism/photoprism/issues
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/photoprism-docs#9
No description provided.