»If files are 3 KB in size, does it make more sense to store them directly in a DB or does it make more sense to store only their path in the DB?«
Posted by jpluimers on 2018/02/27
On Linux, always remember the splice function makes direct data paths between handles very cheap, so storing it as files is better.
Be sure to read the discussions here:
- [WayBack] »If files are 3 KB in size, does it make more sense to store them directly in a DB or does it make more sense to store only their path in the DB?«… – Kristian Köhntopp – Google
- [Archive.is] Kristian Köhntopp’s answer to If files are 3 KB in size, does it make more sense to store them directly in a DB or does it make more sense to store only their path in the DB? – Quora
–jeroen






Leave a comment