doc-exports/docs/dws/tool/dws_16_0160.html
Lu, Huayi 27019c2991 DWS TOOL 830.201 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:35:25 +00:00

24 lines
1.9 KiB
HTML

<a name="EN-US_TOPIC_0000001819416245"></a><a name="EN-US_TOPIC_0000001819416245"></a>
<h1 class="topictitle1">ROUNDROBIN Table</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001819416245__en-us_topic_0000001706105029_en-us_topic_0000001449527097_p8060118">GaussDB(DWS) supports the creation of roundrobin tables. You can set the <a href="dws_16_0016.html#EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_li15409381633">table.type</a> in <a href="dws_16_0016.html#EN-US_TOPIC_0000001772696060__en-us_topic_0000001706105077_en-us_topic_0000001434418777_table1740918360500">Table 1</a>. Set table.type=ROUND-ROBIN.</p>
<p id="EN-US_TOPIC_0000001819416245__en-us_topic_0000001706105029_en-us_topic_0000001449527097_p1479011348119"><strong id="EN-US_TOPIC_0000001819416245__en-us_topic_0000001706105029_en-us_topic_0000001449527097_b3612451114">Input</strong></p>
<pre class="screen" id="EN-US_TOPIC_0000001819416245__en-us_topic_0000001706105029_en-us_topic_0000001449527097_screen1698495114111">CREATE TABLE charge_snapshot (
id bigint NOT NULL,
profit_model integer,
ladder_rebate_rule text
);</pre>
<p id="EN-US_TOPIC_0000001819416245__en-us_topic_0000001706105029_en-us_topic_0000001449527097_p878914382112"><strong id="EN-US_TOPIC_0000001819416245__en-us_topic_0000001706105029_en-us_topic_0000001449527097_b14775347811">Output</strong></p>
<pre class="screen" id="EN-US_TOPIC_0000001819416245__en-us_topic_0000001706105029_en-us_topic_0000001449527097_screen1186619541013">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;</pre>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_16_0119.html">Table (Optional Parameters and Operations)</a></div>
</div>
</div>