I have some items and each one of those has some properties:
item1 (prop1, prop2)
item2 (prop1, prop3, prop4)
item3 (prop2, prop4)
Some filters, group by, and where clause on items by their properties are required. so, what is the best way to store these items for achieving maximum performance:
using a single table with a column called properties that stores properties as JSON or XML format to preventing join between tables,
or having an additional table for storing them (items and properties tables)?
and why?
Thank you.