Copyright © Cloud Software Group, Inc. All rights reserved. |
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.
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.
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. |