Manage downloaded files in a database or file system?

I am going to enable a feature for my users to upload small files that are under 2mb (jpg, gif, pdf and docs). For the purpose of loading pages and, as a rule, managing files in the future, can you recommend that the files be downloaded to the file system (and a link to it through the database) or downloaded to the database directly as a BLOB?

Thanks for any help. Dan

+3
source share
2 answers

From my point of view, the file system is the best choice.

  • Your database is not receiving oversized data due to BLOB fields.
  • , ( )
  • , , .

, - ( ) , BLOB.

+4

. . , , , , - .

+1

Source: https://habr.com/ru/post/1764646/


All Articles