-
-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Store all blob binaries (images) outside of Stash's SQLite database #2271
Comments
I don't disagree. However, we would need some way to export images. Unlike content in |
Which would be a good option for that ?
it could default to |
I'd introduce a new location setting for image storage - defaulting to |
I was wondering about segmenting the path, so something like stash doesn't usually get a performance hit from the mega directories (like in generated) since it doesn't list them, but doing backups is slower because of it, since generated is considered more like a cache you wouldn't normally back it up, but this would be first class data so segmented directories could be helpful for backups. |
For storing images for objects (scene covers, performer images etc), I think dividing by database id would be better. Segmenting the path would be suitable for objects that we see large numbers of, such as scenes, galleries and images. |
This will allow setting gallery covers without relying on the current |
As this project scales and as we add more and more performers/studios/etc to our databases, the database size of our Stash databases is becoming a bit bloated with these blobs.
Given the size of the images, there's no performance gain in storing the images in the database itself over storing them on the filesystem.
I'm of the opinion that we should migrate towards storing these images in the
/generated/
folder instead, only storing a reference to the file path in the database itself.Thanks!
The text was updated successfully, but these errors were encountered: