I have a database table (called Master) which has about 40 columns. 11 of them always contains the constant values for about every 100.000 rows.
The down side of this structure is that, when I need to update those 11 columns values, I need to go and update all 100.000 rows.
I could move all the constant data in a different table, and update it only one time, in one place, instead of 100.000 places.
However, if I do it like this, when I display the fields, I need to create INNER JOIN's between the two tables, which I know makes the SELECT statement slower.
I must say that updating the columns occurs more rarely than reading (displaying) the data.
How you suggest that I should store the data in database to obtain the best performances?
Thanks