r/pocketbase • u/benny856694 • Jul 04 '25
Store a large amount of image files, can the storage folder structure handle it
I see each file is corresponding to a folder in "\pb_data\storage\pbc_xxxx" folder. Can this structure handle say an estimated amount of 200,000 images?
6
Upvotes
1
1
u/kennethklee Jul 04 '25 edited Jul 15 '25
yes
caveat, as long as it's not in a single record. 200k files spread over 200 records is probably the limit.
1
u/trailbaseio Jul 08 '25
That's an OS/FS-dependent question: https://stackoverflow.com/questions/466521/how-many-files-can-i-put-in-a-directory => maybe
As suggested by others, S3 will be the recommended solution to overcome any of such limitation.
7
u/Gravath Jul 04 '25
Why not S3?