Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use the sequence properties to set up a sequence of unique numbers that you want to allocate to records in a stream,. 

To create a sequence, specify a start value and how many numbers you require (the block size). PhixFlow a block size. The block size specifies how often you go back to the database to update the number up to which you have allocated. This is referred to as the 'tidemark'. PhixFlow then allocates those numbers from the database and stores them in memory. When PhixFlow reserves a block, it marks the last reserved value in the database. 

...

Tip

We recommend you set a large block size, to optimise performance.

If you require a continuous sequence of values for items:

  • in a small stream set, you may want to accept the overhead of assigning every value in the sequence from the database. In this case, set the Block Size to 1.
  • in larger stream sets, consider an alternative method of assigning the value.

Sequence Properties

To create a sequence, in the repository, right-click Sequences and click 

Insert excerpt
_add
_add
nopaneltrue
.

Insert excerpt
_standard_settings
_standard_settings
nopaneltrue

...

FieldDescription
NameEnter the name of the sequence.
Start ValueEnter the first value in the sequence.
Block Size

Enter a number to set the size of the sequence of numbers. This will depend on the number of records in the stream set to which you are allocating unique numbers. For example, if the stream set has 10,000 records, the block size should be at least 10,000.

Note

Sequences provide unique numbers, but they the numbers may not always be contiguous.

Block size has an effect on performance; see Block Size and Performance, above.

Current ValuePhixFlow displays the highest value already allocated.

...