I'm creating my own component for storing products (shopping cart). The most of products usually have their prices and other attributes. What way of storing these attributes in the DB is easier and better: in a single column or as the part of json? I.e. like:

```
id     name      price        attribs
1    Product1    1000    "field1":"value1"
2    Product2    2000    "field1":"value2"

```

OR

```
id     name                  attribs
1    Product1    "price":"1000","field1":"value1"
2    Product2    "price":"2000","field1":"value2"

```

The question is especially about storing thousands of products. What way is faster when Joomla and database work together and in which case server load is less? And when is it more right to store data as json instead of a single column? Please explain