Possible Duplicate:
Is there any reason to worry about the column order in a table?
Let's say I have a big table, 7 million rows. current structure is:
ID (primary key, auto inc, int), some fixed columns, some variable columns (varchars).
All queries are done using a specific ID. The variable columns are required twice as often.
Should I change it so that variable columns are at the beginning, just after the ID?
reason for: since they are used most, hence if they are first, does this make queries that need to get just them faster? reason against: they are variable columns, so their size will vary. if they are before the fixed columns, can this throw off the fixed columns, making access to them slower?