I have a table
name: order
with
id
, product_id
, comment
now I want to add a state
new table: order_state
1 -> finished
2 -> started
etc
then add a field order_state_id
in the table order
in what way do I have to worry about performance?
does this always perform well or what is the case where it wont? e.g. i mean when doing joins etc with a lot of orders, say 200'000 orders
i have used mysql views before and they were horrible the view I created contained obviously several joins. Is this not a related problem?