store_api::metric_engine_consts

Constant METRIC_ENGINE_INDEX_SKIPPING_INDEX_GRANULARITY_OPTION

Source
pub const METRIC_ENGINE_INDEX_SKIPPING_INDEX_GRANULARITY_OPTION: &str = "index.granularity";
Expand description

Option key for the granularity of the skipping index in the metric engine. This key is used to specify the granularity of the primary key index (skipping index) in the metric engine.

CREATE TABLE table_name (
    ...
)
ENGINE = metric
WITH (
    physical_metric_table = "",
    index.type = "skipping",
    index.granularity = "102400",
);