Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If it is static content why have a database at all?


In general, e.g. to place the files and their metadata like checksum, access rights, image previews, foreign keys right next to each other.

In the authors use case, it might also be easier to drop the executable and one big database file on a random shared file store in the company network instead of many small files and a database file for metadata.

And it might be faster to read files from db than from fs https://sqlite.org/fasterthanfs.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: