I am designing a table (InnoDB) that stores information regarding product items.
items ->
- item_id (PK)
- price
- weight
- stock_count
- category_id
- description (BLOB, max 2K)
This table is primarily read to fetch all data for a given item, though sometimes the description field alone can be read. There is infrequent update to an item's data, and that includes the description field.
I have 2 queries:
For faster read operation, is it better to segregate the table into 2 parts, 1 with fixed width fields and other with the blob 'description' field? I think the basic understanding I am missing is whether the variable length of the description field will impact the lookup time of the item data.
If I hold lots of items data, say 10M, how is the update speed of this table compared to the segregated table mentioned above.