Here is the situation
I have to design a database to store computer product information. Everything from keyboards, digital cameras, switches etc.
Fields like product_code, price, title, image etc are fine, but when you get into technical specifications there is a large variety between the product categories.
For example: a digital camera has megapixels, memory card type, battery... Whereas a switch has data transfer rate, interfaces, status indicators etc...
As you can see there is a large variety.
The question is would it be better to make a large table with all the technical fields, only entering information in the appropriate place, OR have a single field to store the technical information as a single XML or WDDX chunk?
Are there performance issues to consider when searching through XML and WDDX?
Any thoughts would be appreciated.
🙂