Skip to content

Commit 974e840

Browse files
committed
Update readme
1 parent 94facc1 commit 974e840

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff 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

1930
Notes
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

0 commit comments

Comments
 (0)