On 11/25/2009 2:05 PM, Charles Wilt wrote:
There's a trade off between "sequential-ness" and performance,
particularly with multiple jobs using the same sequence.

Yeah, I thought about that too.

But I've always been of the opinion that an application should be designed first for functionality and then later for performance.

If all you really need is a surrogate key shared between tables, then
the defaults of NO ORDER and CACHE 20 provide the best performance.

I guess my biggest problem with the implementation is that the name 'sequence' implies a shared _sequential_ numeric value ... it's actually anything but that (at least by default). I think it would be more accurate to describe the concept as providing a _unique_ numeric value.

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.