I'm designing a schema where certain members can upload images (based on a permission). I'm planning on doing this using a varbinary(max)
column.
What are the storage and performance implications to consider between the two following designs (apart from the obvious that the latter is one to many - that can be constrained easily enough).
- A single table with a nullable
varbinary(max)
column - Two tables, one for
Members
, the second forPictures
Clearly an additional left join will slow performance but if I use a single table approach will this require more storage space (I don't normally consider storage size too much of a concern over performance but for this project I have fairly tight limits with my hosting provider).