Updated on 2026-10-21 GMT+08:00

GS_ABO_MODEL_STATISTIC

GS_ABO_MODEL_STATISTIC stores the metadata, names, and operators of the models estimated by ABO based on feedback cardinality.

Table 1 GS_ABO_MODEL_STATISTIC columns

Name

Type

Description

oid

OID

Implicit column.

modelname

Name

Model name, which is unique.

createtime

Timestamp without time zone

Time when the model was created or updated.

groupkey

OID

Operator hash of the model.

joinkey

OID

Hash of the model's operator connection shape.

fixed_selectivity

Double precision

Fixed selectivity for operators that do not contain numeric conditions.

avg_qerror

Double precision

Average qerror of the model.

max_qerror

Double precision

Maximum qerror of the model.

feedback_num

Integer

Training data volume of the model.

status

Integer

Model status.

  • 0: The model is ineffective.
  • 1: The model is effective.
  • 2: The model is to be updated.
  • 3: The model is blacklisted.
  • 4: The model will be replaced by the default model when it is used next time.

train_count

Integer

Total number of model training times.

train_failure_count

Integer

Number of model training failures.

prediction_count

Integer

Total number of model prediction times.

prediction_failure_count

Integer

Number of model prediction failures.

rtable_ids

oidvector

Sequence of including the model conditions into the base table.

attnums

int2vector

Sequence of columns involved in model input conditions.