Copyright © Cloud Software Group, Inc. All rights reserved.
Copyright © Cloud Software Group, Inc. All rights reserved.


Chapter 4 Sequence Numbers : About Sequence Numbers

About Sequence Numbers
A sequence number is simply a unique identifier for an object. TIBCO iProcess Engine uses six different types of sequence number, as shown in the following table.

1
Only created if TIBCO iProcess Technology Plugins are installed.

These sequence numbers are generated on an “as required” basis by iProcess Engine, which calls one of the following stored database procedures:
The procedure accesses the sequences table, increments the value of the seq_val column for the appropriate row, identified by the seq_id column, and returns that value. The returned value is then used as the next sequence number in the appropriate table.
However, getting sequence numbers directly from the database in this way can create a performance bottleneck, because while one process is requesting a number it must block any other process from attempting to do so.
To minimize the effect of this bottleneck, you can assign a cache of a block of sequence numbers to a process, by using process attributes. The process gets a sequence number from its cache when it needs one, and only accesses the database to refresh the cache when it has run out of numbers. For more information, see "Sequence Caching" in TIBCO iProcess Engine Administrator's Guide.

Copyright © Cloud Software Group, Inc. All rights reserved.
Copyright © Cloud Software Group, Inc. All rights reserved.