Seafile with s3 backend: lots of files, tiny databases

I have set up Seafile with an s3 compatible backend and everything works great, but I have noticed something really weird: the 3 MySQL databases are really tiny, with few rows each. The actual files are stored in s3 buckets, but where is the metadata stored? I would doubt that it fetches the list of files and directories from s3 because it would be very slow - there are hundreds of thousands of files - yet Seafile is super fast at showing the files and directories. What am I missing? Thanks!

Hello @Vito_Botta

Seafile Storage is working differently than other Soulutions. It’s more like Git regarding File
handling and versioning. Only the Library ID is stored the the Database. Any othe information is stored in the Storage. Take a look on the following Picture:


1 Like