KI_CHUNK()
KI_CHUNK()
Returns the index of the chunk within the rank/TOM containing this record.
This value may change as data is added or deleted from a table.
KI_CHUNK_ID()
KI_CHUNK_ID()
Returns the ID of the chunk within the rank/TOM containing this record.
This value should remain the same even after system restarts.
KI_CHUNK_MAX(col)
KI_CHUNK_MAX(col)
Returns the maximum value for the specified column in its chunk.
If the data has changed, this value may be higher than any actual values.
KI_CHUNK_MIN(col)
KI_CHUNK_MIN(col)
Returns the minimum value for the specified column in its chunk.
If the data has changed, this value may be lower than any actual values.
KI_CHUNK_OFFSET()
KI_CHUNK_OFFSET()
Returns the index of the record within the chunk.
KI_PARTITION()
KI_PARTITION()
Returns the index of the partition within the rank/TOM containing this record, for
partitioned tables.
KI_RANK()
KI_RANK()
Returns the index of the rank containing this record.
KI_TOM()
KI_TOM()
Returns the index of the TOM within the rank containing this record.
example.stocks table across the nodes of the cluster.
KI_PARTITION() can be added to the query to also
the distribution across partitions, and for clusters with more than 1 TOM per
rank (1 TOM/rank is the default), KI_TOM() can be added. To see chunk-level
distribution, use KI_CHUNK().