Databases · Junior · Question 64 of 75

Why should you avoid storing large files (images, videos) directly in database rows?

Explanation

Store the file in object storage and keep metadata (key, size, owner) in the database. Small binary data is fine in a bytea column.

Further reading

Problem with a question

Databases · Junior · question 64

Test yourself

Take the Databases · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz