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

32 lines
2.3 KiB
HTML

<a name="EN-US_TOPIC_0000001819336185"></a><a name="EN-US_TOPIC_0000001819336185"></a>
<h1 class="topictitle1">DELAY_KEY_WRITE</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001819336185__en-us_topic_0000001706104981_en-us_topic_0000001385616038_en-us_topic_0214164432_p579713312318"><strong id="EN-US_TOPIC_0000001819336185__en-us_topic_0000001706104981_en-us_topic_0000001385616038_b124183821432158">DELAY_KEY_WRITE</strong> is valid only for MyISAM tables. It is used to delay updates until the table is closed. GaussDB(DWS) does not support table definition modification using this attribute. DSC will delete the attribute during migration.</p>
<p id="EN-US_TOPIC_0000001819336185__en-us_topic_0000001706104981_en-us_topic_0000001385616038_en-us_topic_0214164432_p819210440419"><strong id="EN-US_TOPIC_0000001819336185__en-us_topic_0000001706104981_en-us_topic_0000001385616038_en-us_topic_0214164432_b289713285164">Input</strong></p>
<pre class="screen" id="EN-US_TOPIC_0000001819336185__en-us_topic_0000001706104981_en-us_topic_0000001385616038_en-us_topic_0214164432_screen19200191373016">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)
) ENGINE=MyISAM, DELAY_KEY_WRITE=0;
ALTER TABLE `public`.`runoob_tbl_test6` DELAY_KEY_WRITE=1;</pre>
<p id="EN-US_TOPIC_0000001819336185__en-us_topic_0000001706104981_en-us_topic_0000001385616038_en-us_topic_0214164432_p12114173518210"><strong id="EN-US_TOPIC_0000001819336185__en-us_topic_0000001706104981_en-us_topic_0000001385616038_en-us_topic_0214164432_b75411332121613">Output</strong></p>
<pre class="screen" id="EN-US_TOPIC_0000001819336185__en-us_topic_0000001706104981_en-us_topic_0000001385616038_en-us_topic_0214164432_screen18579330113120">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>