What is the performance hit of using a string type vs a uuid type for a UUID primary key?

Viewed 11842

Is there much of a speed difference for index lookups by using string for the primary key versus the actual uuid type, specifically if the string has a prefix like user-94a942de-05d3-481c-9e0c-da319eb69206 (making the lookup have to traverse 5-6 characters before getting to something unique)?

2 Answers
Related