immich_tsdata docker volume very large
Hi All
My immich_tsdata volume is very large, whats the best way to trim this down?
Thanks!
Josh
15 Replies
VOLUME NAME LINKS SIZE
immich_tsdata 1 9.647GB
there seem to be a lot of large logs in the /data dir in the typesene conmtainer
Can you try remove the large logs file?
yeah sure, do i even need logging on for typesense? i have a feeling i may have enabled it when i was having aissues a while back but i cant see how i did it?
You don't need it really
YOu can add this to the typesense service
in the compose file?
correct
sweet thanks!
so there are logs under the state and DB folders
are these all safe to delete?
i didnt know if the ones under DB are transaction logs ?
typesense?
yeah
maybe, I am not sure. I never had to remove it. typesense database can be reindex if you accidently remove it so you can do some epxerimentation
hang on, i think im barking up the wrong tree..
the data dir maps to tmpfs, so its taking up quite a lareg amount oif disk space in my docker file
i dont knwo whjat should be considered normal disk usage for the typesense container
i guess i could consider mapping /data to its own folder in the compose file
ive got a db_snapshot folder in the typesense container, cna the snapshot functional;ity be disabled?
from this issue https://github.com/typesense/typesense/issues/475, you can set
GLOG_minloglevel=1
to only show warnings and errors.
this way it will still tell you if something goes wrong without spammingGitHub
Issues · typesense/typesense
Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences -...
i don’t think you want to mess with snapshots, but you can look into compacting the database https://typesense.org/docs/0.24.1/api/cluster-operations.html#compacting-the-on-disk-database
Typesense Documentation
Documentation for Typesense Search
Hi Josh, I am experiencing the same with tsdata volume since I had to delete it and revert to typsense 0.24
have you been able to solve this? I don't think the typesens volume is supposed to be that big
I have around 48Gb of pictures and videos
right now it is reindexing (I think) and it is taking more and more of my storage on my rpi 4 sd card
I have this kind of messages in the log, so I don't know if it is working properly