<segmentation> (Specify the segmentation of a table)

Specifies which columns should define the segmentation of a table.

Attributes

Attribute Value
<cols>
<sort> Either 0 for segby or 1 for sortseg

Contents

The <segmentation> container is used by the addtab transaction to segment tables along the specified columns.

Example

<segmentation cols="col1">
  <advise [sort="1"] cols="col1"/>
</segmentation>

The cols attribute of <segmentation> specifies the columns to segment along. The <segmentation> block can contain any number of <advise> tags. Each advise tag indicates that a particular sequence of columns is also sortseg or segby, given the segmentation enforced in the <segmentation> tag’s cols attribute. For example, if you have your table segby "day", then it is probably also segby "month".