At my company, we have a legacy database with various tables and therefore many, many fields.
A lot of the fields seem to have large limits (ex: NVARCHAR(MAX)
) that are never reached.
Does arbitrarily making the fields their maximum width or 2 to 3 times larger than what is normally inputted negatively affect performance?
How should one balance performance with field lengths? Is there a balance?