I have very small images that come from the frontend in the form of dataUrls (e.g. data:image/jpeg;base64,/9j/4AAQS...) which I've decided I will store in the database.
data:image/jpeg;base64,/9j/4AAQS...
The question is: what would be the performance and storage size trade-offs between keeping them as-is, stored as a VARCHAR vs translating them into binary and storing them in a VARBINARY?
VARCHAR
VARBINARY
2.1m questions
2.1m answers
60 comments
57.0k users