数据仓库服务 GAUSSDB(DWS)-ROUNDROBIN表

时间:2024-12-10 11:28:50

ROUNDROBIN表

GaussDB (DWS)支持建立roundrobin表,根据实际需要设置表1中的参数table.type进行配置。设置table.type=ROUND-ROBIN。

输入示例

1
2
3
4
5
CREATE TABLE charge_snapshot (
	id bigint NOT NULL,
	profit_model integer,
	ladder_rebate_rule text
);

输出示例

1
2
3
4
5
CREATE TABLE "public"."charge_snapshot" (
  "id" BIGINT NOT NULL,
  "profit_model" INTEGER,
  "ladder_rebate_rule" TEXT
) WITH (ORIENTATION = ROW, COMPRESSION = NO) NOCOMPRESS DISTRIBUTE BY ROUNDROBIN;
support.huaweicloud.com/tg-dws/dws_16_0160.html