doc-exports/docs/dws/tool/dws_16_0123.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

30 lines
2.1 KiB
HTML

<a name="EN-US_TOPIC_0000001819416205"></a><a name="EN-US_TOPIC_0000001819416205"></a>
<h1 class="topictitle1">AVG_ROW_LENGTH</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001819416205__en-us_topic_0000001706224293_en-us_topic_0000001435815981_en-us_topic_0214164646_p143621254164014">In MySQL, <strong id="EN-US_TOPIC_0000001819416205__en-us_topic_0000001706224293_en-us_topic_0000001435815981_b84721421352">AVG_ROW_LENGTH</strong> indicates the average length of each row. This is not supported by GaussDB(DWS) and is deleted by DSC during the migration.</p>
<p id="EN-US_TOPIC_0000001819416205__en-us_topic_0000001706224293_en-us_topic_0000001435815981_en-us_topic_0214164646_p8060118"><strong id="EN-US_TOPIC_0000001819416205__en-us_topic_0000001706224293_en-us_topic_0000001435815981_en-us_topic_0214164646_b15500153385417">Input</strong></p>
<pre class="screen" id="EN-US_TOPIC_0000001819416205__en-us_topic_0000001706224293_en-us_topic_0000001435815981_en-us_topic_0214164646_screen1315510571232">CREATE TABLE `public`.`runoob_tbl_test`(
`runoob_id` VARCHAR(30),
`runoob_title` VARCHAR(100) NOT NULL,
`runoob_author` VARCHAR(40) NOT NULL,
`submission_date` VARCHAR(30)
)AVG_ROW_LENGTH=10000;</pre>
<p id="EN-US_TOPIC_0000001819416205__en-us_topic_0000001706224293_en-us_topic_0000001435815981_en-us_topic_0214164646_p1345204611236"><strong id="EN-US_TOPIC_0000001819416205__en-us_topic_0000001706224293_en-us_topic_0000001435815981_en-us_topic_0214164646_b1158515362549">Output</strong></p>
<pre class="screen" id="EN-US_TOPIC_0000001819416205__en-us_topic_0000001706224293_en-us_topic_0000001435815981_en-us_topic_0214164646_screen102614453918">CREATE TABLE "public"."runoob_tbl_test"
(
"runoob_id" VARCHAR(120),
"runoob_title" VARCHAR(400) NOT NULL,
"runoob_author" VARCHAR(160) NOT NULL,
"submission_date" VARCHAR(120)
)
WITH ( ORIENTATION = ROW, COMPRESSION = NO )
NOCOMPRESS
DISTRIBUTE BY HASH ("runoob_id");</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>