Updated on 2024-07-19 GMT+08:00

ROUNDROBIN Table

GaussDB(DWS) supports the creation of roundrobin tables. You can set the table.type in Table 1. Set table.type=ROUND-ROBIN.

Input

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

Output

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;