You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Saving blob binary files into database is a common architecture error:
databases are not designed for arbitrary binary files, while filesystems are.
databases are good for storing structured data, such as meta data of files.
We notice that "files" are just structured data with binary contents, store them in database let it can be queried, while put the binary contents into a blob store -- normally just file systems.
most time, filename (which is an ID for file system) will be an automatically generated string.
Problem
There is no way to save image in DB (user profile pic, posts beside images).
Suggestion
Maybe we can use pantomime to convert the files in BLOB before storing in Datalevin DB.
This should happen only server side.
The text was updated successfully, but these errors were encountered: