Reputation: 16162
Sorry if this question has been asked before.
I was thinking of putting an index on a field of VARCHAR(100)
. Does an index on 'foo' take up less space than an index on 'foobar123'?
Upvotes: 0
Views: 60
Reputation: 2515
The space required will be more as the value is used for indexing.
But since it is compressed I dont think there would be a huge performance impact.
Upvotes: 1