File systems are always faster than databases. Databases have overheads such as locking, fragment buffers, SQL parsing, query scheduling, etc. Etc.
Ultimately, the database lives on the file system. A database is a file system plus overhead.
source share