The sysdistrib system catalog table stores data-distribution information for the database server to use. Data distributions provide detailed table and column information to the optimizer to improve the choice of execution paths of SELECT statements. The sysdistrib table has the following columns.
Information is stored in the sysdistrib table when an UPDATE STATISTICS statement with mode MEDIUM or HIGH is executed for a table. (UPDATE STATISTICS LOW does not insert a value into the mode column.)
Only user informix can select the encdat column.
Each row in the sysdistrib system catalog table is keyed by the tabid and colno for which the statistics are collected.
For built-in data type columns, the type field is set to A. The encdat column stores an ASCII-encoded histogram that is broken down into multiple rows, each of which contains 256 bytes.
In Dynamic Server, for columns of user-defined data types, the type field is set to S. The encdat column stores the statistics collected by the statcollect user-defined routine in multirepresentational form. Only one row is stored for each tabid and colno pair. A composite index on the tabid, colno, and seqno columns requires unique combinations of values.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]