File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,10 +15,20 @@ Requirements
1515------------
1616
1717- Postgres is recommended
18+ - Mysql or Sqlite
19+
20+ Why I should store files in the database?
21+ -----------------------------------------
22+
23+ Storing files in the database doesn't fit all usages.
24+ Obviously, the database size will increase over the time if you store large files.
25+
26+ The main benefit of doing this is to simplify backups.
27+ Everything is in a central location and nothing is stored on the frontend servers.
28+ PostgreSQL is preferred because streaming files is supported.
1829
1930Notes
2031-----
2132
22- - Obviously the database size will increase if you store large files
2333- Run the command ` VACUUM ` to free up disk space used by removed files
2434- With Mysql, you may need to change the value of ` max_allowed_packet ` , the default is 1MB
You can’t perform that action at this time.
0 commit comments