MB Software Solutions, LLC wrote: > Paul McNett wrote: >> Steve Ellenoff wrote: >>> What kind of performance penalty is there compared to integers when >>> doing joins? >> I'm not sure if there's any penalty or benefit, or what that penalty/benefit >> would >> be. I've never had the need to profile my join performance. > > > I'm not sure if the performance penalty would be anything but > negligible. It would create a larger index file since each key is 40 > characters (...is that right? 40?) instead of a 4-byte field like integers.
I'm not sure there wouldn't be a (negligible) performance benefit. Sure, the keys are larger, but they are also more balanced, so an index seek algorithm could find the needle in the haystack faster. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

